I came here with same error message but different parameter:
configuration file routines:def_load_bio:missing equal sign:crypto\conf\conf_def.c:525:HERE-->'subjectAltName=DNS:my.hostname.net'line 1
Using Openssl-Win64, exchanging '
with "
solved the issue.