Not able to sign rpm_client_config.jar with CA certificate
Has Anyone signed RPM Jar file with CA certificate - If yes , kindly share steps
Keytool does not accept any other certificate other than X.509 format. If I try to use P7B/PFX format it gives me below error message
# keytool -import -alias mycert111 -file cert5.p7b
Enter keystore password:
keytool error: java.lang.Exception: Input not an X.509 certificate
And If i use X509 format it allows me to use keytool, but during Jarsigning it shows below error message
# jarsigner rpm_client_config.jar mycert111
Enter Passphrase for keystore:
jarsigner: Certificate chain not found for: mycert111. mycert111 must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.