I'm trying to complete my local installation and add SSL by following the example at: https://www.codexpedia.com/apache-server/configure-apache-ssl-for-https-on-mac-os/

but when I try to create certificate request file I keep getting this error:

$ sudo openssl req -new -key server.key -out request.csr
unable to load Private Key
4578909804:error:09FFF06C:PEM routines:CRYPTO_internal:no start line:/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-47.140.1/libressl-2.8/crypto/pem/pem_lib.c:684:Expecting: ANY PRIVATE KEY

I searched but cannot find any clues, can someone please offer some help?

Thank you!


Browse other questions tagged .