kubernetes ca.crt

kubernetes ca.crt would look something like this (missing -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----


So you might not be able to use openssl to view it unless you add those in --- as shown below 

MIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl
cm5ldGVzMB4XDTIzMTEwOTE1MzYwMloXDTMzMTEwNjE1MzYwMlowFTETMBEGA1UE
AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL6k
oE+D6EywDSjyJYbp6kSqpTAg59IN2NXZVKzF7fp3ePJcF+jsHXZlqi++aFA3DA3y
jPv8KVrT8h0kJLt6Tcyzt6oU/MxhEs4VIb1hdaqoaubuydFa++npM6Ca4uPAHhuW
xFQdOmNOuIrgk5zmZWwoYIlxPNdXt0DYZXs2ohdSG949OOYUGrKhkXGNTjsjlZIk
N69FCnNr5KjLFBEq/w48DY9tcwnIsUqNt4HICGtl0ogb+n/OPCcU3uxaqws/HYns
VV9NYY+msoczuYhtwGVjpHd7LZbzvR6mw9/tK38m1PT1GEo30/0cj0+vKIrqZDuM
YqnOK2Eok+loudCnkoUCAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB
/wQFMAMBAf8wHQYDVR0OBBYEFNJ8x9zzVLYmRfhVC/MJPWBqzjboMBUGA1UdEQQO
MAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAAXtnuLkTdHv/UZgKP0H
l5X4txvmpbUbEXcCjWdVTNC8kHxbbky2REaCm2z5fX86CG/LFF9UrHMSAcWa5hB+
4z89p4WSgwB6lDiIg6c7GQrupOtKkQEQPS+WkZLSNy2vDmqn6fcKcRM6Nridd0NM
p86e37eXPG/OduI7usdS9SBg4GzmgBDuCbgTtVEKLoeHaaLiCDMoScwGiG4tZYcM
t702ceAxwCLfLsaAqnGntpZeMRek52GQhHvnO+WWIQeqraCupTNM+gTAdWECOJ5l
lXirflYX1a/MfEg95LVQtk2eP9XM2oxs5+olLbRpa5Roa2Z2rA0izhYk8JbkrsT/
4TA=


Works with 

cat yourfile.crt | openssl x509 -text 

or you can use 

openssl x509 -in ca.crt -text


-----BEGIN CERTIFICATE-----
MIIC/jCCAeagAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl
cm5ldGVzMB4XDTIzMTEwOTE1MzYwMloXDTMzMTEwNjE1MzYwMlowFTETMBEGA1UE
AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL6k
oE+D6EywDSjyJYbp6kSqpTAg59IN2NXZVKzF7fp3ePJcF+jsHXZlqi++aFA3DA3y
jPv8KVrT8h0kJLt6Tcyzt6oU/MxhEs4VIb1hdaqoaubuydFa++npM6Ca4uPAHhuW
xFQdOmNOuIrgk5zmZWwoYIlxPNdXt0DYZXs2ohdSG949OOYUGrKhkXGNTjsjlZIk
N69FCnNr5KjLFBEq/w48DY9tcwnIsUqNt4HICGtl0ogb+n/OPCcU3uxaqws/HYns
VV9NYY+msoczuYhtwGVjpHd7LZbzvR6mw9/tK38m1PT1GEo30/0cj0+vKIrqZDuM
YqnOK2Eok+loudCnkoUCAwEAAaNZMFcwDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB
/wQFMAMBAf8wHQYDVR0OBBYEFNJ8x9zzVLYmRfhVC/MJPWBqzjboMBUGA1UdEQQO
MAyCCmt1YmVybmV0ZXMwDQYJKoZIhvcNAQELBQADggEBAAXtnuLkTdHv/UZgKP0H
l5X4txvmpbUbEXcCjWdVTNC8kHxbbky2REaCm2z5fX86CG/LFF9UrHMSAcWa5hB+
4z89p4WSgwB6lDiIg6c7GQrupOtKkQEQPS+WkZLSNy2vDmqn6fcKcRM6Nridd0NM
p86e37eXPG/OduI7usdS9SBg4GzmgBDuCbgTtVEKLoeHaaLiCDMoScwGiG4tZYcM
t702ceAxwCLfLsaAqnGntpZeMRek52GQhHvnO+WWIQeqraCupTNM+gTAdWECOJ5l
lXirflYX1a/MfEg95LVQtk2eP9XM2oxs5+olLbRpa5Roa2Z2rA0izhYk8JbkrsT/
4TA=
-----END CERTIFICATE-----











Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm