![]() ![]() This will create a file called server.key with a content similar to: Generating RSA private key, 1024 bit long modulus Loading 'screen' into random state - done You can generate the key by executing the following: D:\Software\xampp\apache\bin>openssl genrsa -out server.key 1024 ![]() Once the certificate is generated you can install it as shown here. Note that since we are generating a self sign certificate, we can combine these 3 steps into 1 as described here. Generating a certificate involves 3 steps: We’ll first define a couple of environment variables so that we do not need to provide them every time as parameter to openssl: set OPENSSL_CONF=D:\Software\xampp\apache\conf\openssl.cnf ![]() Open a DOS prompt and navigate to the apache\bin directory in your XAMPP for Windows installation: cd /D D:\Software\xampp\apache\bin So I installed the latest version and since the certificate in there was from 2013 I was not really sure whether it was safe or not so I decided to generate a new one. Since I had an older version of XAMPP for Windows installed, it was still using openssl 1.0.1e in which the heartbleed vulnerability was not yet fixed. ![]()
0 Comments
Leave a Reply. |