TLS with cerificate as a String Resource #59
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, can you please give me the crt variable content? You can generate a new certificate in the same way to avoid sharing the one you are using. |
Beta Was this translation helpful? Give feedback.
I tried replicating the problem but I couldn't. The certificate is correctly parsed. If I change the header to corrupt the data, then I get a java.io.FileNotFoundException but not for file name too long, just incorrect path syntax, but that could be a difference of the JVM we are using to run it. Please check again that your crt variable actually contains the correct certificate value OR the path to the file containing it.
This is my code: