zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Let’s Encrypt nginx example

December 22, 2017 by Igor Drobot Leave a Comment

Free SSL certificates! This not a mirage. Follow this instructions step by step and you will be able to secure all your running projects for free.

About let’s encrypt: let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit.

[Read more…]

Filed Under: Linux Tagged With: Certificate, lets's encrypt, Nginx, OpenSSL, SSL

Verifying Private Key matches a Certificate

January 29, 2013 by Igor Drobot 2 Comments

Certificate

If you get a certificate from a customer and you should implement it in some piece of software (for example nginx). The first step is to compare the received files.
After this check the displayed hash should [Read more…]

Filed Under: Bash, Debian, HTTP, Linux, Networking Tagged With: OpenSSL, Private Key, security, SSL

Generate self-signed certificate

February 4, 2011 by Igor Drobot Leave a Comment

Quick and easy – generate self-signed certificate in one line:

1
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -keyout ipv6.mysql.idrobot.net.key -out ipv6.mysql.idrobot.net.crt

openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -keyout ipv6.mysql.idrobot.net.key -out ipv6.mysql.idrobot.net.crt

Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:Niedersachsen
Locality Name (eg, city) []:Hannover
[Internet Widgits Pty Ltd]:ipv6.mysql.idrobot.net
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:Igor Drobot
Email Address []:id@drobot.de

Filed Under: Bash, HTTP, Linux Tagged With: generate cert, OpenSSL