I’m trying to implement a selfsigned certificate into my webserver, and it’s working already with firefox and chrome (both from the server itself and from a remote machine)… but I can’t get it to work with java. I’ve already created a keystore file that contains my certificate, b…
Tag: certificate
Signed java applet no longer works in any browser if I set the clock ahead on my computer
I have a Java Applet (for a browser) signed and timestamped with a valid Code Signing Certificate from GoDaddy. The code signing certificate itself expires in a few weeks. Everything I’ve read says that the applet will still be valid after the Code Signing Certificate expires: From here: If a timestamp …
How to convert certificate from PEM to JKS?
I have to convert a certificate in PEM format into an Java key store. To use this one with tomcat at a windows server I’ve got those files: cert_request.csr cert_public_key.pem cert_private_key.pem cert.txt I tryed to combine the pem files (by combining the two files were chain together) and converted t…
Java Bouncy Castle OCSP Url
I am using bouncy castle 1.48 to verify certificate validation with OCSP. It works good. But I’m using Ocsp Url as static variable and I want to read it from certificate. Url is written in certificate as Authority Info Access I got org.bouncycastle.asn1.x509.AuthorityInformationAccess object from certif…
Creating ASN1 encoded signature in C# to send to Java
I have a private/public secure cert. My Java counterparts have the public key. I have the need to take a string, sign it, and send it along to Java to then verify the data and signature. There appears to be a well known issue with how Microsoft and the rest of the world encodes/signs data, something about the…
PKCS#12 : DerInputStream.getLength() exception
I generate a certificate using the keytool command: Then if I try to load it using java security API, after getting the file as a byte[] : I get a DerInputStream.getLength(): lengthTag=127, too big exception. What is wrong? Answer I had this problem and I’ve searched the depths of google and still could…