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

Certificate Signing Request (CSR) generation instructions

August 16, 2012 by Igor Drobot Leave a Comment

Tutorial for Certificate Signing Request (CSR Request) based on the geotrust knowledge base.

Step 1: Generate a Key Pair
Type the following command at the prompt for a non-encrypted key:

1
openssl genrsa -des3 -out ssl.zeldor.biz.key 4096

openssl genrsa -des3 -out ssl.zeldor.biz.key 4096

Note: When prompted for a pass phrase: enter a secure password and remember it, as this pass phrase is what protects the private key. Both the private key and the certificate are required to enable SSL.

Step 2: Generate the CSR

Type the following command at the prompt to generate the CSR based on the generated key:

1
openssl req -new -key ssl.zeldor.biz.key -out ssl.zeldor.biz.csr

openssl req -new -key ssl.zeldor.biz.key -out ssl.zeldor.biz.csr

Filed Under: Linux Tagged With: CSR, Security Geotrust, SSL

OpenVPN Road Warrior Setup

May 18, 2011 by Igor Drobot Leave a Comment

This is my second OpenVPN road warrior setup, I write this post from my first pre created drafts. Its more than one year ago, I combined some steps and command, to make it human readable and a little bit friendly :)

Setup map:

First we need to install the needed OpenVPN package:

1
apt-get update && apt-get install openvpn

apt-get update && apt-get install openvpn

Copy the helper scripts to make the life easier, they will help you to create keys and certificates: [Read more…]

Filed Under: Debian, Linux, Mobile, Networking Tagged With: OpenVPN, road warrior, Secure VPN, SSL, VPN