cmd.exe
the path may vary depending on your wamp installation
- cont/
- cd C:\wamp64\bin\apache\apache2.4.54.2\bin
cmd command to generate key
edit key name "certificate"- openssl genrsa -out certificate.key 2048
create folders C:\Apache24\conf
copy the file " openssl.cnf " from the folder C:\wamp64\bin\apache\apache2.4.54.2\bin
to the C:\Apache24\conf folder
cmd command to generate pre-certificate
edit key and certificate name "certificate"- openssl req -new -key certificate.key -out certificate.csr
after entering the command, complete the certificate data step by step
Country Name (2 letter code): PL
State or Province Name (full name): Province
Locality Name (eg, city): City
Organization Name (eg, company): Company Name
Organizational Unit Name (eg, section): Department
Common Name (eg server FQDN or YOUR name): yourdomain.pl
Email Address: youremail@domain.pl
cmd command to generate certificate signature
edit key and certificate name "certificate"- openssl x509 -req -days 365 -in certificate.csr -signkey certificate.key -out certificate.crt
Comments
Post a Comment