If your Parlay gateway provider specifies RSA encryption and provides a public key in the form of a security certificate, you might need to reformat a security certificate to configure this value.
Before you begin
The encryption certificate is provided in an ASCII file in this format.
-----BEGIN CERTIFICATE-----
MIIBIzCCAEegAwIBAwIBAAADBgEACCIxCzAJBgNVBAYTAlVLMRMwEQYDVQQDEwpB
ZXBvbmEgTHRkMB4XDTAyMTExMjE3NTE0M1oXDTAzMEExMjE3NNE0M1owIjEMMAkG
A6UEBhMCVUsxEzARBgNVBAMTCkFlcG9uYSBMdGQwgZ8wDQYJKoZIhvcNAQEBBQAD
nqR0AMIGJAoGBAJrAVSwEnJFExeW3Ug2kUPcZBzBP4A+IGWafDABk3Uc6KfcpQCvE
BejbFsHzffDL+QKYIkAs2WmDo1fjBjTqHNfsdpEDRAZuUlN6EwRpmBS6MujqKiJA
OCn6SkaDIBrQXte14JFZUX0ulZ4K8KY/NAb1tImGBRrQsi0pvbpip8PHAgMBAAEw
AwYBAAMBAA==
-----END CERTIFICATE-----
About this task
Complete these steps to convert the certificate to a single-line string.
- Open the file with a text editor.
- Ensure that word wrap is not enabled.
- Add the new line character (\n) to the end of each line.
- Add the \n to the end of the file. This is an example of the reformatted certificate. This is not an actual certificate.
-----BEGIN CERTIFICATE-----\n
MIIBIzCCAEegAwIBAwIBAAADBgEACCIxCzAJBgNVBAYTAlVLMRMwEQYDVQQDEwpB\n
ZXBvbmEgTHRkMB4XDTAyMTExMjE3NTE0M1oXDTAzMEExMjE3NNE0M1owIjEMMAkG\n
A6UEBhMCVUsxEzARBgNVBAMTCkFlcG9uYSBMdGQwgZ8wDQYJKoZIhvcNAQEBBQAD\n
nqR0AMIGJAoGBAJrAVSwEnJFExeW3Ug2kUPcZBzBP4A+IGWafDABk3Uc6KfcpQCvE\n
BejbFsHzffDL+QKYIkAs2WmDo1fjBjTqHNfsdpEDRAZuUlN6EwRpmBS6MujqKiJA\n
OCn6SkaDIBrQXte14JFZUX0ulZ4K8KY/NAb1tImGBRrQsi0pvbpip8PHAgMBAAEw\n
AwYBAAMBAA==\n
-----END CERTIFICATE-----\n
- Combine the lines into one string.
- Copy this string into the Security certificate configuration field.