Prerequisites
- Linux OS with openssl tool installed
- sudo apt-get install openssl
- sudo apt-get install libssl-dev
Generate private key
- openssl genrsa -des3 -out private.key 2048
- Note. Do not forget passphrase for private key
Generate CA request file for enrollment
- openssl req -new -key private.key -out CertificateReq.csr
- Please fill in those fields as prompted
CA Self-sign the certificate with private key
- openssl x509 -req -days 1095 -in CertificateReq.csr -signkey private.key -out Certificate.crt
請先 登入 以發表留言。