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GnMIGkMQswCQYDVQQGEwJQTDEMMAoGA1UECBMDTWF6MQ8w
DQYDVQQHEwZXYXJzYXcxJDAiBgNVBAoTG1N5c3RlbWljcyBQb2xhbmQgU3AuIHog
by5vLjEXMBUGA1UECxMOU3lzdGVtaWNzIE1haW4xEjAQBgNVBAMTCVN5c3RlbWlj
czEjMCEGCSqGSIb3DQEJARYUZ3JlZ29yeUBzeXN0ZW1pY3MucGyCCQC5DoldKful
eTANBgkqhkiG9w0BAQQFAAOBgQCOaNY4u56TdCM/0RoEjvhfjxvj8Y6gDjpa7y0J
qNNOWzmUiZqRynzfi89lDTYxN2dBKdwUokSupeoOArcg/uzG93X6sShkdXDaD9hm
MvWeQtPR4dwJlQhoerfdsOUVlIcsS3YTLFxCkGM9qkl6vxmtm6rzBwPUpAXs/lmb
G7WKpw==
-----END CERTIFICATE-----
Niestety tak jak pisałem certyfikatu nie można zweryfikować gdyż w składniczch brak jest nadrzędnego. Jako jakąś tam podstawę możesz podać te linijki:
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
depth=0 /C=PL/ST=Mazowieckie/L=Warsaw/O=Systemics Poland Sp. z O.O./OU=Main Systemics Poland Sp. z O.O./CN=zorn.systemics.pl/emailAddress=root@mufasa.systemics.pl
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=PL/ST=Mazowieckie/L=Warsaw/O=Systemics Poland Sp. z O.O./OU=Main Systemics Poland Sp. z O.O./CN=zorn.systemics.pl/emailAddress=root@mufasa.systemics.pl
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=PL/ST=Mazowieckie/L=Warsaw/O=Systemics Poland Sp. z O.O./OU=Main Systemics Poland Sp. z O.O./CN=zorn.systemics.pl/emailAddress=root@mufasa.systemics.pl
verify error:num=21:unable to verify the first certificate