All Projects → webpkg → ngxpkg

webpkg / ngxpkg

Licence: AGPL-3.0 license
a cli tool for nginx

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ngxpkg

Spring Boot Starter Acme
Generate SSL certs easily for Spring Boot apps
Stars: ✭ 83 (+277.27%)
Mutual labels:  acme, ssl-certificate
Getssl
obtain free SSL certificates from letsencrypt ACME server Suitable for automating the process on remote servers.
Stars: ✭ 1,687 (+7568.18%)
Mutual labels:  acme, ssl-certificate
acmed
ACME (RFC 8555) client daemon
Stars: ✭ 121 (+450%)
Mutual labels:  acme, ssl-certificate
Manuale
A fully manual Let's Encrypt/ACME client
Stars: ✭ 201 (+813.64%)
Mutual labels:  acme
Traefik Certs Dumper
Dump ACME data from Traefik to certificates
Stars: ✭ 220 (+900%)
Mutual labels:  acme
laravel-lets-encrypt
Let's Encrypt wrapper for Laravel
Stars: ✭ 112 (+409.09%)
Mutual labels:  ssl-certificate
rails-puma-ssl
🔐 Easy way to start using SSL in development
Stars: ✭ 38 (+72.73%)
Mutual labels:  ssl-certificate
Acmetool
🔒 acmetool, an automatic certificate acquisition tool for ACME (Let's Encrypt)
Stars: ✭ 1,882 (+8454.55%)
Mutual labels:  acme
wat
WAT - Windows ACME Tool
Stars: ✭ 28 (+27.27%)
Mutual labels:  acme
anvil
Tools for distributing ssl certificates
Stars: ✭ 29 (+31.82%)
Mutual labels:  acme
tipi
Tipi - the All-in-one Web Server for Ruby Apps
Stars: ✭ 214 (+872.73%)
Mutual labels:  acme
qiniu-auto-cert
七牛 CDN 证书自动化工具
Stars: ✭ 20 (-9.09%)
Mutual labels:  acme
labca
A private Certificate Authority for internal (lab) use, based on the open source ACME Automated Certificate Management Environment implementation from Let's Encrypt (tm).
Stars: ✭ 126 (+472.73%)
Mutual labels:  acme
Terraform Provider Acme Old
ACME (Let's Encrypt) Support for Terraform
Stars: ✭ 211 (+859.09%)
Mutual labels:  acme
Intranet-Lets-Encrypt-Certification
Guide to setting up a Let's Encrypt SSL certificate for a non-public facing server.
Stars: ✭ 27 (+22.73%)
Mutual labels:  ssl-certificate
Acme
My collection of Acme notes and scripts
Stars: ✭ 191 (+768.18%)
Mutual labels:  acme
wile
Stripped down letsencrypt (ACME) client
Stars: ✭ 15 (-31.82%)
Mutual labels:  acme
MailDemon
Smtp server for mass emailing, managing email lists and more. Built on .NET Core. Linux, MAC and Windows compatible.
Stars: ✭ 113 (+413.64%)
Mutual labels:  ssl-certificate
letsencrypt-fast
The fastest way to test/generate/renew Let's Encrypt SSL certificates!!! Requires root access and a live webserver to run the script at.
Stars: ✭ 25 (+13.64%)
Mutual labels:  ssl-certificate
django-ca
Django app providing a Certificate Authority
Stars: ✭ 106 (+381.82%)
Mutual labels:  acme

ngxpkg Build Status

A cli tool for nginx

Install

Install go before use ngxpkg, or you can download release version. How to install go please look at https://golang.org/doc/install

go get github.com/webpkg/ngxpkg

mv $GOPATH/bin/ngxpkg $GOPATH/bin/ngc

or you can build it for other system by use

go get github.com/webpkg/ngxpkg

cd $GOPATH/src/github.com/webpkg/ngxpkg/

make

Default Env

Create new sites with domains ngxpkg.com, dbpkg.com ...

ngc new ngxpkg.com dbpkg.com

it will create conf files:

  • /etc/nginx/conf.d/ngxpkg.com.conf
  • /etc/nginx/conf.d/dbpkg.com.conf

and create sites:

  • /opt/local/www/ngxpkg.com/

    • /opt/local/www/ngxpkg.com/public
    • /opt/local/www/ngxpkg.com/conf/fullchain.ecdsa.pem
    • /opt/local/www/ngxpkg.com/conf/privkey.ecdsa.pem
    • /opt/local/www/ngxpkg.com/conf/fullchain.rsa.pem
    • /opt/local/www/ngxpkg.com/conf/privkey.rsa.pem
    • /opt/local/www/ngxpkg.com/conf/ocsp.pem
  • /opt/local/www/dbpkg.com/

    • /opt/local/www/dbpkg.com/public
    • /opt/local/www/dbpkg.com/conf/fullchain.ecdsa.pem
    • /opt/local/www/dbpkg.com/conf/privkey.ecdsa.pem
    • /opt/local/www/dbpkg.com/conf/fullchain.rsa.pem
    • /opt/local/www/dbpkg.com/conf/privkey.rsa.pem
    • /opt/local/www/dbpkg.com/conf/ocsp.pem
  • /opt/local/www/conf

    • /opt/local/www/conf/dhparam.pem
    • /opt/local/www/conf/ticket.pem

Notice.

please replace the files with yours after create new site.

  • /opt/local/www/conf/dhparam.pem
  • /opt/local/www/conf/ticket.pem

Renew ssl with domains ngxpkg.com, dbpkg.com ...

ngc renew ngxpkg.com dbpkg.com

it will renew all ssl certificates list on sites conf file when it's valid days less then NGX_ALLOW_RENEW_DAYS

Reference Links

https://github.com/google/acme

https://gethttpsforfree.com/

https://mozilla.github.io/server-side-tls/ssl-config-generator/

License

Copyright (C) 2017-2018 ZhiQiang Huang, All Rights Reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].