| by Mark | No comments

SSL

Apache SSL Certificaat aanmaken

Genereren van key file

openssl genrsa -des3 -out server.key 1024

Remove passphase

openssl rsa -in server.key -out server.key.unsecure

Create a Certificate Signing Request (CSR) with the server RSA private key (output will be PEM formatted): Make sure you enter the FQDN (“Fully Qualified Domain Name”) of the server when OpenSSL prompts you for the “CommonName”

openssl req -new -key server.key -out server.csr

Bekijk info:

openssl req -noout -text -in server.csr

Nu opsturen, of Self-Signed Certificate maken

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

Geef een antwoord