openssl unable报错

ca \
-cert C:/Users/Administrator/newreq.pem \
-config d:/wamp/bin/apache/apache2.4.9/conf/openssl.cnf \
-keyfile C:/Users/Administrator/server.key \
-out newcert.pem

报错

OpenSSL> ca \
>-cert C:/Users/Administrator/newreq.pem \
>-config d:/wamp/bin/apache/apache2.4.9/conf/openssl.cnf \
>-keyfile C:/Users/Administrator/server.key \
>-out newcert.pem
Using configuration from d:/wamp/bin/apache/apache2.4.9/conf/openssl.cnf
Loading 'screen' into random state - done
Enter pass phrase for C:/Users/Administrator/server.key:
unable to load certificate
13888:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_li
b.c:703:Expecting: TRUSTED CERTIFICATE
error in ca
OpenSSL>

你可能感兴趣的:(ssl)