Pkcs10CertificationRequest adding in repated '/' when converted to base64 string #424
-
Trying to create a PKCS#10 with BC, here is my code to do so:
And here is the CSR that BC spits out: Any ideas as to why the CSR has a bunch of '/'s in there? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
'/' is a valid character in Base64, so what is the issue? |
Beta Was this translation helpful? Give feedback.
-
Was able to figure out the solution, it had to do with the keys that were being generated and used in the CSR. Here is what the code to generate the keys looked like:
And what I changed it to:
|
Beta Was this translation helpful? Give feedback.
Was able to figure out the solution, it had to do with the keys that were being generated and used in the CSR.
Here is what the code to generate the keys looked like:
And what I changed it to: