'keytool - data isn't an object ID (tag = 49)

I'm trying to create some Certificates in Keytool within Java / Bin folder.

keytool -import -trustcacerts -alias CertfileProg -file "C:\Danv\Techno.cer" 
-keystore "C:\Danv\Techno.jks"

I get the error:

keytool error: java.security.cert.certificateParsingException: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 49)

Request any support with this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source