Hi All,
I created two certificate mycert.pem & newcert.pem with providing some
information, using command:
openssl req \
-x509 -nodes -days 365 \
-newkey rsa:1024 -keyout mycert.pem -out mycert.pem
openssl req \
-x509 -nodes -days 365 \
-newkey rsa:1024 -keyout newcert.pem -out newcert.pem
and created OCSP request using:
openssl ocsp -issuer mycert.pem -cert newcert.pem -reqout req.der
tried to view the created request which is written in req.der using:
openssl x509 -in req.der -noout -text
got error:
unable to load certificate
29221:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pedm_lib.c:647:Expecting: TRUSTED CERTIFICATE
please let me know the reason and solution for above mentioned error.
Shivakumar Balur
Samsung India Software Operations
Bhagmane Tech Park
C V Raman nagar, Bangalore