B4J Question Lost while setting SSL to b4j srvr

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,

I am sorry if the question seems to be too simple but I am totally lost while setting a provided SSL certificate.

I have got :
  • a Private key file
  • a Certificate file
Please which one should I put in the SetKeyStorePath ? Should I put them both in the same .pem file, please ?

Many thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello Erel,
I do thank your for your reply and after, two days of trial, I am about to give up. Yes, I can generate my own certificate but I am unable to make it work with the one provided.
When I try to put the certificate and the key in PKCS12, I am asked for the 'Export password' but after that, I get a " unable to write random state " error. All is well written but there is something I can't get, reason why I have asked for some help.
Thanks again
 
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello Erel,
I have to apologize, I simply missed your reply. What I do understand is the fact I could create the keystore locally and then upload it to the server. I will try that before to disturb you with any request.
Many thanks
 
Upvote 0
Top