Skip to content

Instantly share code, notes, and snippets.

@sundarv85
sundarv85 / OpenSSL.md
Created July 10, 2022 09:04 — forked from dejanstojanovic/OpenSSL.md
Common OpenSSL commands

Common openssl commands

Create CSR

openssl req -nodes -newkey rsa:2048 -nodes -keyout privateKey.key -out CertRequest.csr -subj "/CN=mydomain.com"

Generate self-sign certificate

openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt
@sundarv85
sundarv85 / install-comodo-ssl-cert-for-nginx.rst
Created January 7, 2019 13:51 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert