Hi,
   I think I have been able to replace only the intermediate certificate
which has a different validity period. I believe this can be done
because what the intermediate certificate is signing is still valid.
Only the expiry date is changing and it is being renewed.

1. Root is valid
2. Sub root or intermediate is replaced
3. Public key certificate is valid. No new CSR is required.

I have done this by using keystore commands.

I exported all the contents of the existing keystore including the
private key as a .pem and then replaced only the new intermediate. This
was imported back. Now when I run the command

Keytool -list -v -keystore <store>

I can see the chain with the new intermediate in the middle. We are
going to test the SSL part to validate.

Has anyone does this to the Java keystore with OpenSSL ?

Thanks,
Mohan

-----Original Message-----
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Erik Tkal
Sent: Wednesday, May 11, 2011 10:32 PM
To: openssl-users@openssl.org
Subject: RE: Replace renewed intermediate certificate in the keystore
chain

No, that should not be true - as long as the subject name of the issuer
does not change and the key pair is reused, then any previously issued
certificates should still verify against the issuer.  Note that the
thumbprint will be different, in case that is used anywhere to track the
cert.


....................................
Erik Tkal
Juniper OAC/UAC/Pulse Development


-----Original Message-----
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of John R Pierce
Sent: Wednesday, May 11, 2011 12:47 PM
To: openssl-users@openssl.org
Subject: Re: Replace renewed intermediate certificate in the keystore
chain

On 05/10/11 11:03 PM, Mohan Radhakrishnan wrote:
>
> Hi,
>
> I have checked my keystore and truststore and the intermediate 
> certificate alone is going to expire.
>

as I understand it (vaguely at best), if the intermediate certfiicate 
expires, that invalidates any certificates it generated, so you will 
need to regenerate and replace all child certificates too.

...


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to