diff --git a/test/entrypoint.sh b/test/entrypoint.sh index 83e5406c1..7ed44e4aa 100755 --- a/test/entrypoint.sh +++ b/test/entrypoint.sh @@ -48,8 +48,8 @@ if [ -n "${PKCS11_PROXY_SOCKET:-}" ]; then } addobj --id 333333 --token-label intermediate --type privkey --write-object test/test-ca.key.der --label intermediate_key addobj --id 777777 --token-label root --type privkey --write-object test/test-root.key.der --label root_key - addobj --id 333333 --token-label intermediate --type pubkey --write-object test/test-ca.pubkey.der --label intermediate_key - addobj --id 777777 --token-label root --type pubkey --write-object test/test-root.pubkey.der --label root_key + addobj --id 333333 --token-label intermediate --type pubkey --write-object test/test-ca.pubkey.pem --label intermediate_key + addobj --id 777777 --token-label root --type pubkey --write-object test/test-root.pubkey.pem --label root_key fi if [[ $# -eq 0 ]]; then diff --git a/test/test-ca.pubkey.der b/test/test-ca.pubkey.der deleted file mode 100644 index be93b4fd7..000000000 Binary files a/test/test-ca.pubkey.der and /dev/null differ diff --git a/test/test-ca.pubkey.pem b/test/test-ca.pubkey.pem new file mode 100644 index 000000000..2df56ba27 --- /dev/null +++ b/test/test-ca.pubkey.pem @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwgpHeZoFxRKydxdjNBPX +cPk2v5neYvEwyHdNR23qwAKapsnRu1GWBd8y00szY5TUjprcm760hlJ2fa/bUkHC +/FTOllDjPLZyKYiIxANkJAcnDML0ZmfwdpbT3WLP0fQajcDtYNfBg2ax0s1GLTSj +XhSOhpWpo+xitla9EpohGppTSEeZLQBbBBK83/3eIwhe7KLDLCaTAptaefEJD+Cx +y0oVS1w2vATH1aCPoqWHANPIjVBZIFvFVg3JSA8XMrGtKbAw7TI19/uGj5BP3Hn5 +j/tcTn1LgxzhlfFxcp7D+BKU31Tma9P4PYGEO2QK6l1+xk0JBanbsD5v8OasUj02 +qwIDAQAB +-----END PUBLIC KEY----- diff --git a/test/test-root.pubkey.der b/test/test-root.pubkey.der deleted file mode 100644 index 61cf4bfc0..000000000 Binary files a/test/test-root.pubkey.der and /dev/null differ diff --git a/test/test-root.pubkey.pem b/test/test-root.pubkey.pem new file mode 100644 index 000000000..9e535a731 --- /dev/null +++ b/test/test-root.pubkey.pem @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA+TbvalHXQYO6GhJUJZI5 +mF2k4+nZDIvqWyrjw+2k9+UAcekuLKPpSclu9aBRvUggw3XFHAW95qW6Dv2+5gvi +nUmTq9Ry7kVTUYAxyZu1ydHt+wDETmFJfeY6/fpBHHIsuGLItqpUGmr8D6LROGEq +fFY2B9+08O7Zs+FufDRgLHWEvLTdpPkrzeDJs9Oo6g38jfT9b4+9Ahs+FvvwqneA +kbeZgBC2NWKB+drMuNBTPbF/W1a8czAzHeOs6qy0dBlTHNjL62/o9cRKNiKe3Iqw +HJdd01V1aLSUgIbe2HrP9EC1djnUXWR3jx3ursaKt7PTKsC52UJkRqnai80MzQj0 +WwIDAQAB +-----END PUBLIC KEY-----