Apache server, create a Self-Signed Certificate with OpenSSL

In this entry I’m going to show how to create a self-signed certificate and add it to apache server to validate a dummy domain in my local computer and also show hot to use it as proxy server. This is a very useful to test development environments via https.

1. Create a private key, enter the password when it is prompted.

$ openssl genrsa -des3 -out domain.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
........................................+++++
.................................+++++
e is 65537 (0x010001)
Enter pass phrase for domain.key:
Verifying - Enter pass phrase for domain.key:
Seguir leyendo