|
Hello all,
I have been trying to generate an x509 certificate and sign it with my private key but I could not. I found some codes online but have problems not working properly. Also, most of them are deprecated.
I appreciate the help and support
|
|
|
|
|
|
Thanks Sandeep but I have tried the code in the link you posted and it has a problem. Have you tried it? if yes, I would benefit a lot if you send me the whole project including all the libraries.
Regards
|
|
|
|
|
That is not the way it works. We do not provide code. We are developers ourselves, we code for money.
What is the exception/ error? have you just c&p'd the code/followed the link at the end of the tutorial or did you actually read the tutorial?
It's not that hard to create X509 certificates.
|
|
|
|
|
Hello
Yes I did read the whole tutorial but the line that had a problem was this
certGen.setSerialNumber(new DERInteger(BigInteger.valueOf(System.currentTimeMillis())));
I only asked for a push not for a complete code.
That's simply it.
|
|
|
|