Please review the attached patch for the following bug:
* *Bugzilla Bug #975939*
<
https://bugzilla.redhat.com/show_bug.cgi?id=975939>-RHCS 8.1: "END
CERTIFICATE" tag is not on it's own line
This bug refers to a display problem in the DRM Transport Certificate.
Before the patch was applied,
'https://pki-ip-host.example.com:10443/kra/agent/kra/displayTransportCert'
displayed the following:
-----BEGIN CERTIFICATE-----
MIIDvjCCAqagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBRMR4wHAYDVQQKExVEc2Rl
dlNqY1JlZGhhdCBEb21haW4xDzANBgNVBAsTBnBraS1jYTEeMBwGA1UEAxMVQ2Vy
dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEzMDcyNDA0MzM0OFoXDTE1MDcxNDA0MzM0
OFowVjEeMBwGA1UEChMVRHNkZXZTamNSZWRoYXQgRG9tYWluMRAwDgYDVQQLEwdw
a2kta3JhMSIwIAYDVQQDExlEUk0gVHJhbnNwb3J0IENlcnRpZmljYXRlMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw/rFaEIcVRaQOGcV6bAAg/I1IKsp
tx3iT/QXUhbotl+rIXCRvM1057RBKdTSYVALhfYnfbEUg4bfNX6RzIxqPCIXrwl9
xM3Itk6st3OOMpMGsyGUh0BctMJeOjMXy6U/djL51Mhr4oKBwwoQbOr944hlI7hp
8u9PEBmfTGeWps18oz+dLPnsIq5rt9U75o9BTZ1+zOkyyLh+U5SsqqAzwd7gIRVt
v5DuA03kTTGnd4/0D7J8bJ9xeBeBWlybLwYc4xMndwApLjiluzHioGHWg3gg+dBP
mlnaMdD9KpNjingumcGZNf8RYG3cb/u9svo4b21iNVOpC4LDW6InPWS2fQIDAQAB
o4GbMIGYMB8GA1UdIwQYMBaAFDys38nHtDFshY0Lh2+RFp2FCeYOMFAGCCsGAQUF
BwEBBEQwQjBABggrBgEFBQcwAYY0aHR0cDovL3BraS1pcC1ob3N0LmRzZGV2LnNq
Yy5yZWRoYXQuY29tOjkxODAvY2Evb2NzcDAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0l
BAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD7A1cfx88tXim+durkL
uSwJl5EOS0ai5WKXh5Ov4Ir2sWHb/8+FIPtxlW12y3zN6076q1bsyOLdw1TSCaA1
iYhvoEED+uC52kGOGigXJRM3w01/+dG6VPkgcvTSmt1MFnVJHhhmqNGGXZIOCazD
aUClEzUetOq4ok6E6vyM3LU8iVHtMC7TaA358vrAxDhsCqlZuR8NPAsuwx15S28P
nngFikjbeBsuem96Q35uSB61Tp7V3rO7J7A7hSliudfmSJwDKjBBgIkjC1wgOTjm
PVjq9Ss49t1ZD9mmwx5B9DNBZhh1TGPPx8MOVThhLHnw9PuBmfW2eTsmVXsDFVNe
0j8=-----END CERTIFICATE-----
After the patch was applied,
'https://pki-ip-host.example.com:10443/kra/agent/kra/displayTransportCert'
displayed the following:
-----BEGIN CERTIFICATE-----
MIIDvjCCAqagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBRMR4wHAYDVQQKExVEc2Rl
dlNqY1JlZGhhdCBEb21haW4xDzANBgNVBAsTBnBraS1jYTEeMBwGA1UEAxMVQ2Vy
dGlmaWNhdGUgQXV0aG9yaXR5MB4XDTEzMDcyNDA0MzM0OFoXDTE1MDcxNDA0MzM0
OFowVjEeMBwGA1UEChMVRHNkZXZTamNSZWRoYXQgRG9tYWluMRAwDgYDVQQLEwdw
a2kta3JhMSIwIAYDVQQDExlEUk0gVHJhbnNwb3J0IENlcnRpZmljYXRlMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw/rFaEIcVRaQOGcV6bAAg/I1IKsp
tx3iT/QXUhbotl+rIXCRvM1057RBKdTSYVALhfYnfbEUg4bfNX6RzIxqPCIXrwl9
xM3Itk6st3OOMpMGsyGUh0BctMJeOjMXy6U/djL51Mhr4oKBwwoQbOr944hlI7hp
8u9PEBmfTGeWps18oz+dLPnsIq5rt9U75o9BTZ1+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