question

bbaker avatar image
bbaker asked bbaker posted

How to response PEM encoded certificates

I'm having a bear of a time trying to response map PEM encoded certificates.  I thought this would be fairly straight forward, but I can't seem to clean up the errors.  Here is a sample:

 

-----BEGIN CERTIFICATE REQUEST-----
MIIC4zCCAcsCAQAwVDELMAkGA1UEBhMCVVMxEDAOBgNVBAgTB0FsYWJhbWExDzAN
BgNVBAoTBkFkdHJhbjEPMA0GA1UECxMGRU4tRFZUMREwDwYDVQQDEwhOVjM0MzB2
MjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIK8hGu4lH6cUj+eqwz
/j5KLhE04fwzWvQJQT5y2H6xsZzssXeXd/TULXrUHp6KA1Bzbsu2exdYT0Wbg+er
wQTR3fpaeUMqcVDUVhHZEVRKa9EL6mw4A0T/U095UUHQcLuuTwrStKFtwNfkqQMH
+q1EQkpE8pA0S2KfkEc0YAg9g0H1WUEc17/2D6JGxiUTE+CModYBkVK2Vw340pIk
uWlean7KXA/a6pq/t7zJVEuI13d2aVMaW4LxvjvTb2ilUMNf+XF1ZCGqGVa7L0B8
xrhqf7FMZxpIKNQy/934ysqtiQ6te7tyPo9rmh1HrVHCmSUL9svagrQJUk2FNOXz
N0kCAwEAAaBKMEgGCSqGSIb3DQEJDjE7MDkwNwYDVR0RBDAwLocEChZeEIEVYmls
bC5iYWtlckBhZHRyYW4uY29tgg90ZXN0LmFkdHJhbi5jb20wDQYJKoZIhvcNAQEF
BQADggEBAHaiOEwHjIsS7usBx/KMLkEB1wEPnPCjIjxKC6HUGKexeZ9uTYr2DyNv
jBQNgHcvDwjp2e3LblgJmOefQ5LL9KgQ9+VGLUQQXswfxrVgpICAVWB8NO1Pq24d
TnBMCKjbE3c0ovWY0StyL32gzpAQ3XGgbHQUSGrh6suFqKjrTDYo2KX7QipNVJt5
ZPhWJoy+DogCQ4pMZlGEDKBCEPRQDN9zthc3QV2gPeDhXWhygkCB1tjUL7N7jjeh
DYhWFhLdqPtsLHUZted9lzA96oCQZTHh/WpdmDBZ9Pp2LukTDfAoFpMWZ81jNOmn
cyh6yugjvSe7Lm2iaAWu6WZ0D1WkVmg=
-----END CERTIFICATE REQUEST-----

 Automatic analysis can't make any sense of this, so I'm trying to do this manually.  I'd like to have three queries, one that returns the header, second would return the body, third would return the footer.

 

Thanks!

 

iTestresponse map
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
AmishP avatar image
AmishP answered AmishP posted

Hey Bill,

 

Here is my version of it :-) It's a bit tricky as you said.  Hope it withstands your test!

 

-A

 


cert.ffrm (3.0 KiB)
cert.fftc (5.5 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bbaker avatar image bbaker commented ·

This worked like a champ.  Thanks!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.