AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ampps edit max execution time8/16/2023 ![]() ![]() SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag AH02564: Failed to configure encrypted (?) private key localhost:8443:0, check D:/Software/xampp/apache/conf/ssl.key/server.key See D:/Software/xampp/apache/logs/error.log for more information AH02311: Fatal error initialising mod_ssl, exiting. AH02577: Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file D:/Software/xampp/apache/conf/ssl.key/server.key) Which will lead to such an error loading the key from XAMPP: Verifying - Enter pass phrase for server.key: Do not this will cause your key to contain a pass phrase: D:\Software\xampp\apache\bin>openssl genrsa -des3 -out server.key 1024 Note you can find instructions saying to use the -des3 option. MJUFZ9SPiaiNzVZhMijmAR3klnOz1XZlRhC/z9fzDJVopGk= KYzw0CCmuCdOk6nICl7RzQJBANeQEfc FT3r3mdVLnyXraAjPxo RFDZvWqQJiJY OYpeQawLOLGdoJBXZdqgtZ2BgkZ0vwu/rcIs6NjqC RELF 6N6YIaJCFoMBgDgZS M/rvwprbecoDnFzYvnTnwLe7ERY4HDMGPSv6he8oClFEHTFTGs4r/FWU3GjJAkEA ZdvI7z/4nQJBAOyH3yuROrzrqFIe5YlyKLxeLx28T0IdYS1zwt064zfgMyi3eWG ĬAibg81cAMqlDhMzden8/CTYZYEQIhD6/xUCQQCA0tcvbdGrcpLo1kUxHv5OFjeR XsMVMfeEC7hOzUCHd3bX0Ye8BYBTVslQAZmrBQZv3Z59W MSM3aJT6vPYtsMwIWH MIICXwIBAAKBgQDkQxjDD36nH9lfch9m CS3TzIHYqrkEd0XGg ki4E0QyP Me9W 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
Read More
Leave a Reply. |