Exporting a Certificate as BASE-64 encoded .cer

前端 未结 4 707
青春惊慌失措
青春惊慌失措 2020-12-08 19:13

I am trying to export a cert without the private key as as BASE-64 encoded file, same as exporting it from windows. When exported from windows I am able to open the .cer fil

4条回答
  •  旧巷少年郎
    2020-12-08 19:23

    //however, missing the "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----"

    These missing lines are optional. CA may generate them or not depending on settings. For all practical reasons they can be removed from the Base64 encoded file.

提交回复
热议问题