-
openssl genpkey -out server.key -algorithm RSA
-pkeyopt rsa_keygen_bits:2048 -aes-128-cbc
- openssl req -new -config ssl.conf -key server.key -out server.csr
- openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
- openssl genpkey -out client.key -algorithm RSA
-pkeyopt rsa_keygen_bits:2048 -aes-128-cbc
2.openssl req -new -config ssl2.conf -key client.key -out client.csr 3. openssl x509 -req -days 365 -in client.csr -signkey client.key -out client.crt 4. cp client.crt ca.crt