moverify OAM SSL Certificate (the Existing .csr file with the Existing JKS File (.cer file))
Hi
we have to Renewal the OAM SSL Certificate for one our Environment.
I would like to verify the Existing .csr file with the Existing JKS File (.cer file).
i.e I Created a temporary .cer file from by extracting from the JKS file the certificate that is expiring :
keytool -export -alias oam-stg -keypass <password> -file /tmp/Cert/oamstg/oam-stg.cer -keystore /home/ssouser/jks/oamstg/oamstg.jks -storepass <password>
When i try to verify the modulus key im getting following Error
$openssl x509 -noout -modulus -in oam-stg.cer | openssl md5
unable to load certificate
42746202360906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:701:Expecting: TRUSTED CERTIFICATE