Структура файла сертификата
Файл содержит данные сертификата открытого ключа ограниченные строками -----BEGIN CERTIFICATE----- и -----END CERTIFICATE-----.
Пример заполнения файла:
-----BEGIN CERTIFICATE-----
MIID4zCCA5CgAwIBAgIKYRkziQAAAAAACzAKBgYqhQMCAgQFADCBtjEaMBgGCSqG
SIb3DQEJARYLYWdAbnd1ZGMucnUxCzAJBgNVBAYTAlJVMRYwFAYDVQQHEw1TdC5Q
ZXRlcnNidXJnMTcwNQYDVQQKDC7Ql9CQ0J4g0KPQlNCe0KHQotCe0JLQldCg0K/Q
rtCp0JjQmSDQptCV0J3QotCgMSMwIQYDVQQLDBrQkNC00LzQuNC90LjRgdGC0YDQ
sNGG0LjRjzEVMBMGA1UEAxMMTldVRENDQTFTVUIxMB4XDTA1MDIxNDE1MzMwMFoX
DTA2MDIxNDE1NDIwMFowgfsxFjAUBgkqhkiG9w0BCQEWBzk5OUA5OTkxCzAJBgNV
BAYTAlJVMScwJQYDVQQHHh4EIQQwBD0EOgRCAC0EHwQ1BEIENQRABDEEQwRABDMx
OzA5BgNVBAoeMgQiBDUEQQRCBD4EMgRLBDkAIAQ9BDAEOwQ+BDMEPgQ/BDsEMARC
BDUEOwRMBEkEOAQ6MS0wKwYDVQQLHiQEEgQ1BDQEQwRJBDgEOQAgBEEEPwQ1BEYE
OAQwBDsEOARBBEIxPzA9BgNVBAMeNgQQBDsENQQ6BEEENQQ1BDIAIAQQBDsENQQ6
BEEENQQ5ACAEEAQ7BDUEOgRBBDUENQQyBDgERzCBpTAcBgYqhQMCAhQwEgYHKoUD
AgIgAgYHKoUDAgIeAQOBhAAEgYDinHMmUrE69Bq9Us3VeBb6ba0gkDwyLxmMNWMM
qeeuKzAS0Zz0T47lAyruZRxZ1zBA2S5zlAeRw88Qs2okLvKCoGJ11tBOjaCidEmQ
f19xzyjACVivUBaQz0zcHXmrpU/HcveqQr+swJkdxpToSxtDUn7BTvxZG3kY/Dp1
1m4djKOB8TCB7jAOBgNVHQ8BAf8EBAMCB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