All Projects → pric → Pric

pric / Pric

Licence: mit
Simple zero-config tool to create Private Certificate Authority & issue locally-trusted development server certificates with any domain names you'd like. SSL certificates for development purposes.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Pric

docker-nginx-certbot
Automatically create and renew website certificates for free using the Let's Encrypt certificate authority.
Stars: ✭ 367 (+321.84%)
Mutual labels:  ssl, https, certificate-authority, localhost
pki
Certificate Authority management suite
Stars: ✭ 23 (-73.56%)
Mutual labels:  ssl, openssl, https, certificate-authority
Mutual Tls Ssl
🔐 Tutorial of setting up Security for your API with one way authentication with TLS/SSL and mutual mutual authentication for a java based web server and a client with both Spring Boot. Different clients are provided such as Apache HttpClient, OkHttp, Spring RestTemplate, Spring WebFlux WebClient Jetty and Netty, the old and the new JDK HttpClient, the old and the new Jersey Client, Google HttpClient, Unirest, Retrofit, Feign, Methanol, vertx, Scala client Finagle, Featherbed, Dispatch Reboot, AsyncHttpClient, Sttp, Akka, Requests Scala, Http4s Blaze, Kotlin client Fuel, http4k, Kohttp and ktor. Also other server examples are available such as jersey with grizzly. Also gRPC examples are included
Stars: ✭ 163 (+87.36%)
Mutual labels:  https, ssl, openssl, certificate-authority
Getaltname
Extract subdomains from SSL certificates in HTTPS sites.
Stars: ✭ 320 (+267.82%)
Mutual labels:  https, ssl, ssl-certificate, tool
httpsbook
《深入浅出HTTPS:从原理到实战》代码示例、勘误、反馈、讨论
Stars: ✭ 77 (-11.49%)
Mutual labels:  ssl, openssl, https
openssl-ca
Shell scripts to manage a private Certificate Authority using OpenSSL
Stars: ✭ 38 (-56.32%)
Mutual labels:  ssl, openssl, certificate-authority
Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+17121.84%)
Mutual labels:  https, ssl, ssl-certificate
Takeoff
A rapid development environment using docker for convenience.
Stars: ✭ 271 (+211.49%)
Mutual labels:  development-environment, developer-tools, development
tls-ca-manage
Multi-level Certificate Authority Management tool, front-end tool to OpenSSL, written in bash shell.
Stars: ✭ 19 (-78.16%)
Mutual labels:  ssl, openssl, certificate-authority
Wolfssl
wolfSSL (formerly CyaSSL) is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3!
Stars: ✭ 1,098 (+1162.07%)
Mutual labels:  https, ssl, openssl
Developer Roadmap Guide 2018
Stars: ✭ 344 (+295.4%)
Mutual labels:  development-environment, developer-tools, development
Kvantum
An intellectual (HTTP/HTTPS) web server with support for server side templating (Crush, Apache Velocity and JTwig)
Stars: ✭ 17 (-80.46%)
Mutual labels:  ssl, webserver, https
Libhv
🔥 比libevent、libuv更易用的国产网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket client/server.
Stars: ✭ 3,355 (+3756.32%)
Mutual labels:  https, openssl, webserver
E2guardian
E2guardian is a web content filter that can work in proxy, transparent or icap server modes
Stars: ✭ 340 (+290.8%)
Mutual labels:  https, ssl, openssl
Httplab
The interactive web server
Stars: ✭ 3,752 (+4212.64%)
Mutual labels:  developer-tools, development, webserver
jota-cert-checker
Check SSL certificate expiration date of a list of sites.
Stars: ✭ 45 (-48.28%)
Mutual labels:  ssl, openssl, https
Fenix
A simple and visual static web server with collaboration features.
Stars: ✭ 1,559 (+1691.95%)
Mutual labels:  https, ssl, localhost
Https Localhost
HTTPS server running on localhost
Stars: ✭ 122 (+40.23%)
Mutual labels:  https, ssl, localhost
Telegraph
Secure Web Server for iOS, tvOS and macOS
Stars: ✭ 474 (+444.83%)
Mutual labels:  https, ssl, webserver
Ergo
The management of multiple apps running over different ports made easy
Stars: ✭ 452 (+419.54%)
Mutual labels:  development-environment, developer-tools, development

!pric

!pric

Issue localhost development server certificates signed by own Private Certificate Authority in no time.

Use !pric only for development on local hosts. For public hosts consider using Let's Encrypt!

Introduction

Self-signed certificates cause trust errors and issuing locally-trusted development certificates signed by a real Certificate Authority (CA) can be dangerous or even impossible for the hosts like 127.0.0.1 or localhost.

!pric automatically creates and installs a local CA in the system root store, and generates locally-trusted certificates.

Usage

Download !pric sources via browser and unzip archive.

Or just download and untar it with terminal command:

wget -c https://github.com/pric/pric/archive/master.tar.gz -O - | tar -xz

Go to the extracted pric-master directory and execute pric.sh terminal command:

sh pric.sh

This command will:

  1. Generate Certificate Authority private key in /usr/local/share/ca-certificates/!pric/ca.key
  2. Generate Certificate Authority self-signed certificate in /usr/local/share/ca-certificates/!pric/ca.crt
  3. Update operating system Certificate Authority registry
  4. Generate localhost private key in ./output/localhost.key
  5. Generate localhost certificate signing request in ./output/localhost.csr
  6. Generate localhost certificate signed by Certificate Authority in ./output/localhost.crt
  7. Compile PEM file in ~/localhost-certificate.pem (required for Reverse proxy for PHP built-in server)

Terminal output:

!pric output

Import Certificate Authority to browser

Firefox

  1. Go to about:preferences in address bar.
  2. Search for Certificates and click View Cerficicates button.
  3. In Authorities tab click Import and choose /usr/local/share/ca-certificates/!pric/ca.crt certificate.

!pric Certificate Authority will be added to the list.

Chromium (Chrome)

  1. Go to chrome://settings/certificates in address bar.
  2. In Authorities tab click Import and choose /usr/local/share/ca-certificates/!pric/ca.crt certificate.

org-!pric Certificate Authority will be added to the list.

Supported root stores

  • macOS system store
  • Linux system store
    • update-ca-trust (RHEL, CentOS, Fedora) or
    • update-ca-certificates (Ubuntu, Debian, OpenSUSE, SLES)

Customization

By default !pric creates certificate for the following domain names:

  • localhost
  • test.localhost
  • *.test.localhost (wildcard)

This list could be changed in ./openssl.dns.cnf file (!pric creates missing config file on start).

Verify Certificate Working

Run web development server on 4000 port and try to access it via cURL:

$ curl -v https://localhost:4000

* Rebuilt URL to: https://localhost:4000/
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 4000 (#0)
* found 150 certificates in /etc/ssl/certs/ca-certificates.crt
* found 602 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* 	 common name: localhost (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: RSA
* 	 certificate version: #3
* 	 subject: O=!pric,CN=localhost
* 	 start date: Mon, 21 Oct 2019 00:11:45 GMT
* 	 expire date: Wed, 27 Sep 2119 00:11:45 GMT
* 	 issuer: O=!pric,CN=localhost
* 	 compression: NULL
* ALPN, server did not agree to a protocol
> GET / HTTP/1.1
> Host: localhost:4000
> User-Agent: curl/7.47.0
> Accept: */*

Authors

License

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].