All Projects → snaptortoise → ssloca

snaptortoise / ssloca

Licence: MIT license
Bash script that removes the headache of generating and trusting SSL certificates for localhost projects in macOS

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ssloca

Fenix
A simple and visual static web server with collaboration features.
Stars: ✭ 1,559 (+4624.24%)
Mutual labels:  ssl, localhost
Pric
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.
Stars: ✭ 87 (+163.64%)
Mutual labels:  ssl, localhost
docker-nginx-certbot
Automatically create and renew website certificates for free using the Let's Encrypt certificate authority.
Stars: ✭ 367 (+1012.12%)
Mutual labels:  ssl, localhost
Https Localhost
HTTPS server running on localhost
Stars: ✭ 122 (+269.7%)
Mutual labels:  ssl, localhost
wolfssl-py
Python wrapper for wolfSSL embedded SSL/TLS library.
Stars: ✭ 30 (-9.09%)
Mutual labels:  ssl
one-scan
多合一网站指纹扫描器,轻松获取网站的 IP / DNS 服务商 / 子域名 / HTTPS 证书 / WHOIS / 开发框架 / WAF 等信息
Stars: ✭ 44 (+33.33%)
Mutual labels:  ssl
mail
golang send mail with SSL,TLS and support NTLM,LOGIN,PLAIN AUTH...
Stars: ✭ 29 (-12.12%)
Mutual labels:  ssl
ssl-handshake
A command-line tool for testing SSL/TLS handshake latency, written in Go.
Stars: ✭ 41 (+24.24%)
Mutual labels:  ssl
premeStock
Monitors for restocks
Stars: ✭ 53 (+60.61%)
Mutual labels:  ssl
TestAuthority
Simple certificate authority for development written in C#. Allows issue of SSL certificates, including wildcard certificates
Stars: ✭ 32 (-3.03%)
Mutual labels:  ssl
Java-Proxy-Server
This is a simple HTTP/HTTPS proxy server written in Java
Stars: ✭ 149 (+351.52%)
Mutual labels:  ssl
High-Traffic-wordpress-server-configuration
High Traffic WordPress server configuration Nginx (updated) PHP 7.4 PHP-fpm Mariadb (updated) Wordpress (updated) Cloudflare Full SSL
Stars: ✭ 31 (-6.06%)
Mutual labels:  ssl
phoenix-client-ssl
Set of Plugs / Lib to help with SSL Client Auth.
Stars: ✭ 18 (-45.45%)
Mutual labels:  ssl
SuperSimpleTcp
Simple wrapper for TCP client and server in C# with SSL support
Stars: ✭ 263 (+696.97%)
Mutual labels:  ssl
certificatetransparency
Certificate transparency for Android and JVM
Stars: ✭ 63 (+90.91%)
Mutual labels:  ssl
dderl
Web based Data Explorer / Data Jump Station with Erlang In-Memory Support
Stars: ✭ 23 (-30.3%)
Mutual labels:  ssl
wile
Stripped down letsencrypt (ACME) client
Stars: ✭ 15 (-54.55%)
Mutual labels:  ssl
tlstools
🔐 CLI tool to analyze, troubleshoot or inspect SSL certificates, requests or keys.
Stars: ✭ 45 (+36.36%)
Mutual labels:  ssl
protobuf-ipc-example
Protocol buffer IPC example
Stars: ✭ 19 (-42.42%)
Mutual labels:  ssl
acme2
Another PHP client for acme protocal (version 2) implementation, used for generating letsencrypt's free ssl certificates.
Stars: ✭ 45 (+36.36%)
Mutual labels:  ssl

SSLoca

Generate trusted local SSL certificates for macOS

This is a bash script that removes (some of) the headache when generating and trusting SSL certificates for localhost projects in macOS. Instead of jumping between ~5 different commands, 6+ prompts and manually opening Keychain Access to trust your locally generated certificates, you can simply run this script and be done with it.

To do so, clone the project and run:

./create-local-certificates.sh

You will be prompted to enter your user password for the final steps that add the certificates to your keychain. When finished you will have these files in your certs folder ready to use:

rootCA.key
rootCA.pem
server.crt
server.csr
server.key

How and where you use these will depend on your project.

If you're using Express it might look something like this:

const https = require('https');
const fs = require('fs');

const options = {
  key: fs.readFileSync('certs/server.key'),
  cert: fs.readFileSync('certs/server.crt'),
};

https.createServer(options, (req, res) => {
  res.writeHead(200);
  res.end("hello world\n");
}).listen(8080);

Caveats

Do not use this in any kind of production! The password generated for the root certificate is just password.

Kudos

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