Repository navigation
TLS with cerificate as a String Resource #59
Answered
by
davidepianca98
Mgalazka2323
asked this question in
Q&A
|
Hello, |
Answered by
davidepianca98
Aug 26, 2024
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. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: