-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutiple Aliases Problem #37
Comments
Exact same issue, Any luck? |
Hi, You should code:
Let me know how you go! |
I had the same issue and found a solution. Instead of passing the certificate and an alias you need to create your own keystore and load the certificate and then pass that keystore to the PassSigner. First create the keystore Load your certificate/keypair Create the PassSigner |
Hi @martinreichart / @ryantenney , The solution given above by @martinreichart worked for me, while executing it on Windows machine with Oracle JDK 1.6.045.
Here is the code snippet: } |
We have found the solution for this. Here is the fix. We need to pass the provider for the underlying keystore, i.e. SunJSSE or IBMJCE `try { }` |
@ychoudhary/ @martinreichart / @ryantenney java.lang.SecurityException: class "org.bouncycastle.asn1.DEREncodable"'s signer information does not match signer information of other classes in the same package |
@vamshisomanchi in your case the problem seems to be that you have multiple versions of BouncyCastle on your classpath. |
Just had this issue, and I had it every year since 2017. In my case the solution is to remove whitespaces from the alias name, my alias was "my name lastname" and changing to "mnl" or "my_name_lastname" fixed this issue. |
|
I am using this code in my grails application.
I tried various scenarios like:
P.S I am using ubuntu 14.04.
The text was updated successfully, but these errors were encountered: