Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Caused by: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)

enter image description here

' server.ssl.key-store = src/main/resources/laitadmin.p12 server.ssl.key-alias= 1 server.ssl.keyStoreType= PKCS12'

'   at sun.security.util.ObjectIdentifier.<init>(ObjectIdentifier.java:257) ~[na:1.8.0_251]'
like image 348
Houissahedi Avatar asked Aug 31 '25 22:08

Houissahedi


2 Answers

AES encryption in pkcs12 is not supported in java up to java 11. This is a known issue. Reference - https://bugs.openjdk.java.net/browse/JDK-8220734

like image 75
Vignesh Varadharajan Avatar answered Sep 03 '25 17:09

Vignesh Varadharajan


I had the same problem, I solved it by exporting again by MS Edge, but now using the TripleDES-SHA1 Cryptography option on Windows export certified wizard.

like image 40
Karpinski Avatar answered Sep 03 '25 17:09

Karpinski