How to Generate Self-Signed Certificate with Subject Alternative Name using Keychain Access on a Mac

preview_player
Показать описание
On this how-to tutorial video we are going to generate a self-signed certificate and install the certificate on a local server running on Apache on your Mac.

export the keys and convert to plain-text crt and key

Required modules: mod_log_config, mod_setenvif, mod_ssl,
# socache_shmcb_module (for default value of SSLSessionCache)

# Secure (SSL/TLS) connections

Restart apache
sudo apachectl restart

On Keychain Access - Certificate make sure the certificate is trusted.
Рекомендации по теме
Комментарии
Автор

didn't work for me. Got the following error
Error outputting keys and certificates
envelope default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Could not find private key from <stdin>

I'm running
OpenSSL 3.2.0
OSX 14.2.1

ingolockemann