<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
would appreciate to get this (weird) error sorted/resolved. Having
looked up public sources I could not find a remedy and thus placing
my hope on this list.<br>
<br>
ssl_stapling_file foo.bar.der;<br>
ssl_stapling on;<br>
<br>
nginx -t then produces:<br>
<br>
[emerg] 24249#24249:
d2i_OCSP_RESPONSE_bio("/srv/ca/certs/ocsp_to_lan_3.cert.der") failed
(SSL: error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong
tag error:0D06C03A:asn1 encoding
routines:asn1_d2i_ex_primitive:nested asn1 error error:0D08303A:asn1
encoding routines:asn1_template_noexp_d2i:nested asn1
error:Field=responseStatus, Type=OCSP_RESPONSE)<br>
<br>
WIth:<br>
<br>
# ssl_stapling on;<br>
<br>
there is no such error?!<br>
<br>
openssl x509 -noout -text -inform der -in foo.bar.der prints the
certificate just fine. Having switched between utf8 and ascii did
not make a difference either, same outcome.<br>
<br>
openssl asn1parse -inform DER -in foo.bar.der is also printing the
values just fine.<br>
<br>
<br>
</body>
</html>