Skip to content

Commit 2e8e934

Browse files
committed
Implement authorized responder
1 parent c62d742 commit 2e8e934

31 files changed

Lines changed: 325 additions & 91 deletions
1.24 KB
Binary file not shown.
1.17 KB
Binary file not shown.
1.24 KB
Binary file not shown.
1.16 KB
Binary file not shown.
1.24 KB
Binary file not shown.
1.16 KB
Binary file not shown.

certs/ocsp/ocsp-responder-cert.der

1.19 KB
Binary file not shown.

certs/ocsp/ocsp-responder-key.der

1.16 KB
Binary file not shown.

certs/ocsp/renewcerts.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ openssl x509 -in root-ca-cert.pem -text > tmp.pem
4848
check_result $? ""
4949
mv tmp.pem root-ca-cert.pem
5050

51+
echo "OCSP renew certs Step 4"
52+
openssl x509 -in root-ca-cert.pem -outform DER -out root-ca-cert.der
53+
check_result $? ""
54+
openssl rsa -in root-ca-key.pem -outform DER -out root-ca-key.der
55+
check_result $? ""
56+
5157
# $1 cert, $2 name, $3 ca, $4 extensions, $5 serial
5258
update_cert() {
5359
echo "Updating certificate \"$1-cert.pem\""
@@ -75,6 +81,11 @@ update_cert() {
7581
check_result $? "Step 3"
7682
mv "$1"_tmp.pem "$1"-cert.pem
7783
cat "$3"-cert.pem >> "$1"-cert.pem
84+
85+
openssl x509 -in "$1"-cert.pem -outform DER -out "$1"-cert.der
86+
check_result $? "Step 4"
87+
openssl rsa -in "$1"-key.pem -outform DER -out "$1"-key.der
88+
check_result $? "Step 5"
7889
}
7990

8091
update_cert intermediate1-ca "wolfSSL intermediate CA 1" root-ca v3_ca 01

certs/ocsp/root-ca-cert.der

1.23 KB
Binary file not shown.

0 commit comments

Comments
 (0)