I think you missed this part of the instructions:
Whatever method you use to generate the certificate and key files, the
Common Name value used for the server and client certificates/keys
must each differ from the Common Name value used for the CA
certificate. Otherwise, the certificate and key files will not work
for servers compiled using OpenSSL.
When OpenSSL prompts you for the Common Name for each certificate, use different names.