Структура файла сертификата
Файл содержит данные сертификата открытого ключа, ограниченные строками -----BEGIN CERTIFICATE----- и -----END CERTIFICATE-----.
Пример заполнения файла:
-----BEGIN CERTIFICATE-----
MIIDzTCCA3qgAwIBAgIKPbi1oAAAAAAOijAKBgYqhQMCAgMFADCBwDEeMBwGCSqG
SIb3DQEJARYPdWNpbmZvQGduaXZjLnJ1MQswCQYDVQQGEwJSVTEVMBMGA1UEBwwM
0JzQvtGB0LrQstCwMTAwLgYDVQQKDCfQpNCT0KPQnyDQk9Cd0JjQktCmINCk0J3Q
oSDQoNC+0YHRgdC40LgxMDAuBgNVBAsMJ9Cj0LTQvtGB0YLQvtCy0LXRgNGP0Y7R
idC40Lkg0YbQtdC90YLRgDEWMBQGA1UEAxMNR05JVkMgRk5TIFJVUzAeFw0wNzA1
MDIxMTI1MDBaFw0wODA1MDIxMTM0MDBaMIIBKTEgMB4GCSqGSIb3DQEJARYRbWk1
M0BmNTMubmFsb2cucnUxCzAJBgNVBAYTAlJVMRkwFwYDVQQHDBDQsy4g0JzQvtGB
0LrQstCwMWYwZAYDVQQKDF3QnNCYINCk0J3QoSDQoNC+0YHRgdC40Lgg0L/QviDQ
utGA0YPQv9C90LXQudGI0LjQvCDQvdCw0LvQvtCz0L7Qv9C70LDRgtC10LvRjNGJ
0LjQutCw0Lwg4oSWIDIxNDAyBgNVBAsMK9CX0LDQvNC10YHRgtC40YLQtdC70Ywg
0L3QsNGH0LDQu9GM0L3QuNC60LAxPzA9BgNVBAMMNtCi0LDRgNC00YvQsdCw0LXQ
stCwINCc0LDRgNC40L3QsCDQktC40LrRgtC+0YDQvtCy0L3QsDBjMBwGBiqFAwIC
EzASBgcqhQMCAiQABgcqhQMCAh4BA0MABECNeogorluLIWIU61lY5u+8ebLVhYqa
Xry4NqcBjWIEOmnkBM4YAY2ypnppj2vKJ5oRfNOAolVpIDOjtTVhQ79Fo4HlMIHi
MA4GA1UdDwEB/wQEAwIE8DATBgNVHSUEDDAKBggrBgEFBQcDB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