Can’t get private key with openssl (no start line:pem_lib.c:703:Expecting: ANY PRIVATE KEY)
I ran into the ‘Expecting: ANY PRIVATE KEY’ error when using openssl on Windows (Ubuntu Bash and Git Bash had the same issue). The cause of the problem was that I’d saved the key and certificate files in Notepad using UTF8. Resaving both files in ANSI format solved the problem.