You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andrija Panic <an...@gmail.com> on 2015/04/07 18:42:35 UTC

{HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Hi guys,

our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
CA, and at the end SSL for sever and a private key.

I uploaded new ROOT CA, and after CPVM rebooted, also uploaded Intermediate
ROOT CA, via API, with URL encoded stuff - checked in database all seems OK.

But after uploading new SSL and private key, destroyed CPVM and SSVM - my
Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
access

Any clues what I did wrong ?
Should I have somehow removed first old ROOT CA and old Intermediate CA,
and upload new ones ?

Here is database content from cloud.keystore:
http://snag.gy/LMA4h.jpg

This means that for some reason, original realiphost.com SSL is now used
inside CPVM...

Any help greatly appreciated, since this is live system...

Thanks,



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
updated main docs, created pull request...

Thanks

On 16 April 2015 at 15:40, Andrija Panic <an...@gmail.com> wrote:

> Suresh,
>
> not sure if I miss something, but on:
> http://cloudstack-administration.readthedocs.org/en/4.4/systemvm.html#changing-the-console-proxy-ssl-certificate-and-domain
> I dont see any mentioning of ROOT CA, and Intermediate CA.
>
> The only page I found that references these, is:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name
>
> Not sure how to edit this one ?
>
> Thanks
>
> On 16 April 2015 at 14:28, Suresh Sadhu <Su...@citrix.com> wrote:
>
>> Good  to hear. If you feel documentation is not clear then please raise
>> the doc bug for the same.
>>
>> Regards
>> Sadhu
>>
>>
>> -----Original Message-----
>> From: Andrija Panic [mailto:andrija.panic@gmail.com]
>> Sent: 15 April 2015 16:39
>> To: dev@cloudstack.apache.org
>> Cc: users@cloudstack.apache.org
>> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>>
>> Hi guys,
>>
>> just to update - issue solved:
>>
>> Deleted the 5th row, so only 4 additional rows left (as original keystore
>> table layout prior to replacing certificate)
>>
>> The problem was actually, while URL encoding ROOT CA and Intermediate CA,
>> the plus sign ( + ) was replaced by SPACE...
>>
>> Thanks for all the help everybody
>>
>>
>> On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:
>>
>> >  If you have taken backup of  your  table(keystore) before upload then
>> > you revert to previous state then upload the certificates again.
>> >
>> > Encode(url ecode) the  root and intermediate keys while uploading
>> > through api Root - seq 1 Intermediate  seq 2
>> >
>> >  And while uploading server certificate  through UI  don 't  encode
>> > the keys  ,enter only  server certificate and private key(it should be
>> > PKCS#8
>> > format) and domain name  because you have already uploaded root and
>> > intermediate through API.( how to check certificate uploaded correctly
>> > or not on system vms ,just run the keytool  -list on system vms --for
>> > syntax/description   ref this blog it might useful to you :
>> > http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-whi
>> > le.html
>> > )
>> >
>> > Regards
>> > Sadhu
>> >
>> >
>> > -----Original Message-----
>> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
>> > Sent: 07 April 2015 23:19
>> > To: dev@cloudstack.apache.org
>> > Cc: users@cloudstack.apache.org
>> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>> >
>> > Thanks Suresh.
>> >
>> > 2 identical sequence numbers means:  first occurence is OLD
>> > Intermediate CA(from 1 year ago), and the second occurence is the new
>> > one just uploaded (it happened I used different names)
>> >
>> > for ROOT CA - it happened I used the same name "ROOT1" so the old one
>> > got overwriten with seq number 1
>> >
>> > Do you expect I should delete the old Intermediate1 CA manually (and
>> > leave only the new one) ?
>> > Or am I expected to upload again ROOT/intermediate with exact same
>> > names and seq numbers ?
>> >
>> > Thanks
>> >
>> > On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
>> >
>> > > I see same sequence number for 2 intermediate certificates. does
>> > > your certificate has multiple  intermediate certificate or it has
>> only one.
>> > >
>> > > The reason for getting realhost ip is . your certificate is not
>> > > applied correctly  that is reason it's still refer the old
>> certificate.
>> > >
>> > >
>> > > Regards
>> > > sadhu
>> > >
>> > > -----Original Message-----
>> > > From: Andrija Panic [mailto:andrija.panic@gmail.com]
>> > > Sent: 07 April 2015 22:56
>> > > To: users@cloudstack.apache.org
>> > > Cc: dev@cloudstack.apache.org
>> > > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>> > >
>> > > Hi Lucian
>> > >
>> > > yes it is *.domain.com (from 4.3.1 onwards)...
>> > >
>> > > If you can check my attached image, keystore tableseems messed a
>> > > little bit
>> > > :)
>> > > http://snag.gy/LMA4h.jpg
>> > >
>> > >
>> > > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
>> > >
>> > > > Can you check secstorage.ssl.cert.domain in global settings and
>> > > > see if it's the correct one?
>> > > > Should be *.blah.tld or whatever your domain is.
>> > > >
>> > > >
>> > > > HTH
>> > > > Lucian
>> > > >
>> > > > --
>> > > > Sent from the Delta quadrant using Borg technology!
>> > > >
>> > > > Nux!
>> > > > www.nux.ro
>> > > >
>> > > > ----- Original Message -----
>> > > > > From: "Andrija Panic" <an...@gmail.com>
>> > > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
>> > > > > Sent: Tuesday, 7 April, 2015 17:42:35
>> > > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>> > > >
>> > > > > Hi guys,
>> > > > >
>> > > > > our SSL just expired, and I needed to upload new ROOT CA,
>> > > > > Intemediata
>> > > > ROOT
>> > > > > CA, and at the end SSL for sever and a private key.
>> > > > >
>> > > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
>> > > > Intermediate
>> > > > > ROOT CA, via API, with URL encoded stuff - checked in database
>> > > > > all seems
>> > > > OK.
>> > > > >
>> > > > > But after uploading new SSL and private key, destroyed CPVM and
>> > > > > SSVM
>> > > > > - my Console Proxy shows *.realiphost.com as the domain for the
>> > > > > SSL wjen I access
>> > > > >
>> > > > > Any clues what I did wrong ?
>> > > > > Should I have somehow removed first old ROOT CA and old
>> > > > > Intermediate CA, and upload new ones ?
>> > > > >
>> > > > > Here is database content from cloud.keystore:
>> > > > > http://snag.gy/LMA4h.jpg
>> > > > >
>> > > > > This means that for some reason, original realiphost.com SSL is
>> > > > > now used inside CPVM...
>> > > > >
>> > > > > Any help greatly appreciated, since this is live system...
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > >
>> > > > > Andrija Panić
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > >
>> > > Andrija Panić
>> > >
>> >
>> >
>> >
>> > --
>> >
>> > Andrija Panić
>> >
>>
>>
>>
>> --
>>
>> Andrija Panić
>>
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
updated main docs, created pull request...

Thanks

On 16 April 2015 at 15:40, Andrija Panic <an...@gmail.com> wrote:

> Suresh,
>
> not sure if I miss something, but on:
> http://cloudstack-administration.readthedocs.org/en/4.4/systemvm.html#changing-the-console-proxy-ssl-certificate-and-domain
> I dont see any mentioning of ROOT CA, and Intermediate CA.
>
> The only page I found that references these, is:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name
>
> Not sure how to edit this one ?
>
> Thanks
>
> On 16 April 2015 at 14:28, Suresh Sadhu <Su...@citrix.com> wrote:
>
>> Good  to hear. If you feel documentation is not clear then please raise
>> the doc bug for the same.
>>
>> Regards
>> Sadhu
>>
>>
>> -----Original Message-----
>> From: Andrija Panic [mailto:andrija.panic@gmail.com]
>> Sent: 15 April 2015 16:39
>> To: dev@cloudstack.apache.org
>> Cc: users@cloudstack.apache.org
>> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>>
>> Hi guys,
>>
>> just to update - issue solved:
>>
>> Deleted the 5th row, so only 4 additional rows left (as original keystore
>> table layout prior to replacing certificate)
>>
>> The problem was actually, while URL encoding ROOT CA and Intermediate CA,
>> the plus sign ( + ) was replaced by SPACE...
>>
>> Thanks for all the help everybody
>>
>>
>> On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:
>>
>> >  If you have taken backup of  your  table(keystore) before upload then
>> > you revert to previous state then upload the certificates again.
>> >
>> > Encode(url ecode) the  root and intermediate keys while uploading
>> > through api Root - seq 1 Intermediate  seq 2
>> >
>> >  And while uploading server certificate  through UI  don 't  encode
>> > the keys  ,enter only  server certificate and private key(it should be
>> > PKCS#8
>> > format) and domain name  because you have already uploaded root and
>> > intermediate through API.( how to check certificate uploaded correctly
>> > or not on system vms ,just run the keytool  -list on system vms --for
>> > syntax/description   ref this blog it might useful to you :
>> > http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-whi
>> > le.html
>> > )
>> >
>> > Regards
>> > Sadhu
>> >
>> >
>> > -----Original Message-----
>> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
>> > Sent: 07 April 2015 23:19
>> > To: dev@cloudstack.apache.org
>> > Cc: users@cloudstack.apache.org
>> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>> >
>> > Thanks Suresh.
>> >
>> > 2 identical sequence numbers means:  first occurence is OLD
>> > Intermediate CA(from 1 year ago), and the second occurence is the new
>> > one just uploaded (it happened I used different names)
>> >
>> > for ROOT CA - it happened I used the same name "ROOT1" so the old one
>> > got overwriten with seq number 1
>> >
>> > Do you expect I should delete the old Intermediate1 CA manually (and
>> > leave only the new one) ?
>> > Or am I expected to upload again ROOT/intermediate with exact same
>> > names and seq numbers ?
>> >
>> > Thanks
>> >
>> > On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
>> >
>> > > I see same sequence number for 2 intermediate certificates. does
>> > > your certificate has multiple  intermediate certificate or it has
>> only one.
>> > >
>> > > The reason for getting realhost ip is . your certificate is not
>> > > applied correctly  that is reason it's still refer the old
>> certificate.
>> > >
>> > >
>> > > Regards
>> > > sadhu
>> > >
>> > > -----Original Message-----
>> > > From: Andrija Panic [mailto:andrija.panic@gmail.com]
>> > > Sent: 07 April 2015 22:56
>> > > To: users@cloudstack.apache.org
>> > > Cc: dev@cloudstack.apache.org
>> > > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>> > >
>> > > Hi Lucian
>> > >
>> > > yes it is *.domain.com (from 4.3.1 onwards)...
>> > >
>> > > If you can check my attached image, keystore tableseems messed a
>> > > little bit
>> > > :)
>> > > http://snag.gy/LMA4h.jpg
>> > >
>> > >
>> > > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
>> > >
>> > > > Can you check secstorage.ssl.cert.domain in global settings and
>> > > > see if it's the correct one?
>> > > > Should be *.blah.tld or whatever your domain is.
>> > > >
>> > > >
>> > > > HTH
>> > > > Lucian
>> > > >
>> > > > --
>> > > > Sent from the Delta quadrant using Borg technology!
>> > > >
>> > > > Nux!
>> > > > www.nux.ro
>> > > >
>> > > > ----- Original Message -----
>> > > > > From: "Andrija Panic" <an...@gmail.com>
>> > > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
>> > > > > Sent: Tuesday, 7 April, 2015 17:42:35
>> > > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>> > > >
>> > > > > Hi guys,
>> > > > >
>> > > > > our SSL just expired, and I needed to upload new ROOT CA,
>> > > > > Intemediata
>> > > > ROOT
>> > > > > CA, and at the end SSL for sever and a private key.
>> > > > >
>> > > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
>> > > > Intermediate
>> > > > > ROOT CA, via API, with URL encoded stuff - checked in database
>> > > > > all seems
>> > > > OK.
>> > > > >
>> > > > > But after uploading new SSL and private key, destroyed CPVM and
>> > > > > SSVM
>> > > > > - my Console Proxy shows *.realiphost.com as the domain for the
>> > > > > SSL wjen I access
>> > > > >
>> > > > > Any clues what I did wrong ?
>> > > > > Should I have somehow removed first old ROOT CA and old
>> > > > > Intermediate CA, and upload new ones ?
>> > > > >
>> > > > > Here is database content from cloud.keystore:
>> > > > > http://snag.gy/LMA4h.jpg
>> > > > >
>> > > > > This means that for some reason, original realiphost.com SSL is
>> > > > > now used inside CPVM...
>> > > > >
>> > > > > Any help greatly appreciated, since this is live system...
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > >
>> > > > > Andrija Panić
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > >
>> > > Andrija Panić
>> > >
>> >
>> >
>> >
>> > --
>> >
>> > Andrija Panić
>> >
>>
>>
>>
>> --
>>
>> Andrija Panić
>>
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Suresh,

not sure if I miss something, but on:
http://cloudstack-administration.readthedocs.org/en/4.4/systemvm.html#changing-the-console-proxy-ssl-certificate-and-domain
I dont see any mentioning of ROOT CA, and Intermediate CA.

The only page I found that references these, is:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name

Not sure how to edit this one ?

Thanks

On 16 April 2015 at 14:28, Suresh Sadhu <Su...@citrix.com> wrote:

> Good  to hear. If you feel documentation is not clear then please raise
> the doc bug for the same.
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 15 April 2015 16:39
> To: dev@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Hi guys,
>
> just to update - issue solved:
>
> Deleted the 5th row, so only 4 additional rows left (as original keystore
> table layout prior to replacing certificate)
>
> The problem was actually, while URL encoding ROOT CA and Intermediate CA,
> the plus sign ( + ) was replaced by SPACE...
>
> Thanks for all the help everybody
>
>
> On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:
>
> >  If you have taken backup of  your  table(keystore) before upload then
> > you revert to previous state then upload the certificates again.
> >
> > Encode(url ecode) the  root and intermediate keys while uploading
> > through api Root - seq 1 Intermediate  seq 2
> >
> >  And while uploading server certificate  through UI  don 't  encode
> > the keys  ,enter only  server certificate and private key(it should be
> > PKCS#8
> > format) and domain name  because you have already uploaded root and
> > intermediate through API.( how to check certificate uploaded correctly
> > or not on system vms ,just run the keytool  -list on system vms --for
> > syntax/description   ref this blog it might useful to you :
> > http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-whi
> > le.html
> > )
> >
> > Regards
> > Sadhu
> >
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: 07 April 2015 23:19
> > To: dev@cloudstack.apache.org
> > Cc: users@cloudstack.apache.org
> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > Thanks Suresh.
> >
> > 2 identical sequence numbers means:  first occurence is OLD
> > Intermediate CA(from 1 year ago), and the second occurence is the new
> > one just uploaded (it happened I used different names)
> >
> > for ROOT CA - it happened I used the same name "ROOT1" so the old one
> > got overwriten with seq number 1
> >
> > Do you expect I should delete the old Intermediate1 CA manually (and
> > leave only the new one) ?
> > Or am I expected to upload again ROOT/intermediate with exact same
> > names and seq numbers ?
> >
> > Thanks
> >
> > On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
> >
> > > I see same sequence number for 2 intermediate certificates. does
> > > your certificate has multiple  intermediate certificate or it has only
> one.
> > >
> > > The reason for getting realhost ip is . your certificate is not
> > > applied correctly  that is reason it's still refer the old certificate.
> > >
> > >
> > > Regards
> > > sadhu
> > >
> > > -----Original Message-----
> > > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > > Sent: 07 April 2015 22:56
> > > To: users@cloudstack.apache.org
> > > Cc: dev@cloudstack.apache.org
> > > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > >
> > > Hi Lucian
> > >
> > > yes it is *.domain.com (from 4.3.1 onwards)...
> > >
> > > If you can check my attached image, keystore tableseems messed a
> > > little bit
> > > :)
> > > http://snag.gy/LMA4h.jpg
> > >
> > >
> > > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
> > >
> > > > Can you check secstorage.ssl.cert.domain in global settings and
> > > > see if it's the correct one?
> > > > Should be *.blah.tld or whatever your domain is.
> > > >
> > > >
> > > > HTH
> > > > Lucian
> > > >
> > > > --
> > > > Sent from the Delta quadrant using Borg technology!
> > > >
> > > > Nux!
> > > > www.nux.ro
> > > >
> > > > ----- Original Message -----
> > > > > From: "Andrija Panic" <an...@gmail.com>
> > > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > > >
> > > > > Hi guys,
> > > > >
> > > > > our SSL just expired, and I needed to upload new ROOT CA,
> > > > > Intemediata
> > > > ROOT
> > > > > CA, and at the end SSL for sever and a private key.
> > > > >
> > > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > > Intermediate
> > > > > ROOT CA, via API, with URL encoded stuff - checked in database
> > > > > all seems
> > > > OK.
> > > > >
> > > > > But after uploading new SSL and private key, destroyed CPVM and
> > > > > SSVM
> > > > > - my Console Proxy shows *.realiphost.com as the domain for the
> > > > > SSL wjen I access
> > > > >
> > > > > Any clues what I did wrong ?
> > > > > Should I have somehow removed first old ROOT CA and old
> > > > > Intermediate CA, and upload new ones ?
> > > > >
> > > > > Here is database content from cloud.keystore:
> > > > > http://snag.gy/LMA4h.jpg
> > > > >
> > > > > This means that for some reason, original realiphost.com SSL is
> > > > > now used inside CPVM...
> > > > >
> > > > > Any help greatly appreciated, since this is live system...
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Suresh,

not sure if I miss something, but on:
http://cloudstack-administration.readthedocs.org/en/4.4/systemvm.html#changing-the-console-proxy-ssl-certificate-and-domain
I dont see any mentioning of ROOT CA, and Intermediate CA.

The only page I found that references these, is:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+realhostip.com+with+Your+Own+Domain+Name

Not sure how to edit this one ?

Thanks

On 16 April 2015 at 14:28, Suresh Sadhu <Su...@citrix.com> wrote:

> Good  to hear. If you feel documentation is not clear then please raise
> the doc bug for the same.
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 15 April 2015 16:39
> To: dev@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Hi guys,
>
> just to update - issue solved:
>
> Deleted the 5th row, so only 4 additional rows left (as original keystore
> table layout prior to replacing certificate)
>
> The problem was actually, while URL encoding ROOT CA and Intermediate CA,
> the plus sign ( + ) was replaced by SPACE...
>
> Thanks for all the help everybody
>
>
> On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:
>
> >  If you have taken backup of  your  table(keystore) before upload then
> > you revert to previous state then upload the certificates again.
> >
> > Encode(url ecode) the  root and intermediate keys while uploading
> > through api Root - seq 1 Intermediate  seq 2
> >
> >  And while uploading server certificate  through UI  don 't  encode
> > the keys  ,enter only  server certificate and private key(it should be
> > PKCS#8
> > format) and domain name  because you have already uploaded root and
> > intermediate through API.( how to check certificate uploaded correctly
> > or not on system vms ,just run the keytool  -list on system vms --for
> > syntax/description   ref this blog it might useful to you :
> > http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-whi
> > le.html
> > )
> >
> > Regards
> > Sadhu
> >
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: 07 April 2015 23:19
> > To: dev@cloudstack.apache.org
> > Cc: users@cloudstack.apache.org
> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > Thanks Suresh.
> >
> > 2 identical sequence numbers means:  first occurence is OLD
> > Intermediate CA(from 1 year ago), and the second occurence is the new
> > one just uploaded (it happened I used different names)
> >
> > for ROOT CA - it happened I used the same name "ROOT1" so the old one
> > got overwriten with seq number 1
> >
> > Do you expect I should delete the old Intermediate1 CA manually (and
> > leave only the new one) ?
> > Or am I expected to upload again ROOT/intermediate with exact same
> > names and seq numbers ?
> >
> > Thanks
> >
> > On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
> >
> > > I see same sequence number for 2 intermediate certificates. does
> > > your certificate has multiple  intermediate certificate or it has only
> one.
> > >
> > > The reason for getting realhost ip is . your certificate is not
> > > applied correctly  that is reason it's still refer the old certificate.
> > >
> > >
> > > Regards
> > > sadhu
> > >
> > > -----Original Message-----
> > > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > > Sent: 07 April 2015 22:56
> > > To: users@cloudstack.apache.org
> > > Cc: dev@cloudstack.apache.org
> > > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > >
> > > Hi Lucian
> > >
> > > yes it is *.domain.com (from 4.3.1 onwards)...
> > >
> > > If you can check my attached image, keystore tableseems messed a
> > > little bit
> > > :)
> > > http://snag.gy/LMA4h.jpg
> > >
> > >
> > > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
> > >
> > > > Can you check secstorage.ssl.cert.domain in global settings and
> > > > see if it's the correct one?
> > > > Should be *.blah.tld or whatever your domain is.
> > > >
> > > >
> > > > HTH
> > > > Lucian
> > > >
> > > > --
> > > > Sent from the Delta quadrant using Borg technology!
> > > >
> > > > Nux!
> > > > www.nux.ro
> > > >
> > > > ----- Original Message -----
> > > > > From: "Andrija Panic" <an...@gmail.com>
> > > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > > >
> > > > > Hi guys,
> > > > >
> > > > > our SSL just expired, and I needed to upload new ROOT CA,
> > > > > Intemediata
> > > > ROOT
> > > > > CA, and at the end SSL for sever and a private key.
> > > > >
> > > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > > Intermediate
> > > > > ROOT CA, via API, with URL encoded stuff - checked in database
> > > > > all seems
> > > > OK.
> > > > >
> > > > > But after uploading new SSL and private key, destroyed CPVM and
> > > > > SSVM
> > > > > - my Console Proxy shows *.realiphost.com as the domain for the
> > > > > SSL wjen I access
> > > > >
> > > > > Any clues what I did wrong ?
> > > > > Should I have somehow removed first old ROOT CA and old
> > > > > Intermediate CA, and upload new ones ?
> > > > >
> > > > > Here is database content from cloud.keystore:
> > > > > http://snag.gy/LMA4h.jpg
> > > > >
> > > > > This means that for some reason, original realiphost.com SSL is
> > > > > now used inside CPVM...
> > > > >
> > > > > Any help greatly appreciated, since this is live system...
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Suresh Sadhu <Su...@citrix.com>.
Good  to hear. If you feel documentation is not clear then please raise the doc bug for the same.

Regards
Sadhu


-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com] 
Sent: 15 April 2015 16:39
To: dev@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Hi guys,

just to update - issue solved:

Deleted the 5th row, so only 4 additional rows left (as original keystore table layout prior to replacing certificate)

The problem was actually, while URL encoding ROOT CA and Intermediate CA, the plus sign ( + ) was replaced by SPACE...

Thanks for all the help everybody


On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:

>  If you have taken backup of  your  table(keystore) before upload then 
> you revert to previous state then upload the certificates again.
>
> Encode(url ecode) the  root and intermediate keys while uploading 
> through api Root - seq 1 Intermediate  seq 2
>
>  And while uploading server certificate  through UI  don 't  encode 
> the keys  ,enter only  server certificate and private key(it should be 
> PKCS#8
> format) and domain name  because you have already uploaded root and 
> intermediate through API.( how to check certificate uploaded correctly 
> or not on system vms ,just run the keytool  -list on system vms --for
> syntax/description   ref this blog it might useful to you :
> http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-whi
> le.html
> )
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 23:19
> To: dev@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Thanks Suresh.
>
> 2 identical sequence numbers means:  first occurence is OLD 
> Intermediate CA(from 1 year ago), and the second occurence is the new 
> one just uploaded (it happened I used different names)
>
> for ROOT CA - it happened I used the same name "ROOT1" so the old one 
> got overwriten with seq number 1
>
> Do you expect I should delete the old Intermediate1 CA manually (and 
> leave only the new one) ?
> Or am I expected to upload again ROOT/intermediate with exact same 
> names and seq numbers ?
>
> Thanks
>
> On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
>
> > I see same sequence number for 2 intermediate certificates. does 
> > your certificate has multiple  intermediate certificate or it has only one.
> >
> > The reason for getting realhost ip is . your certificate is not 
> > applied correctly  that is reason it's still refer the old certificate.
> >
> >
> > Regards
> > sadhu
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: 07 April 2015 22:56
> > To: users@cloudstack.apache.org
> > Cc: dev@cloudstack.apache.org
> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > Hi Lucian
> >
> > yes it is *.domain.com (from 4.3.1 onwards)...
> >
> > If you can check my attached image, keystore tableseems messed a 
> > little bit
> > :)
> > http://snag.gy/LMA4h.jpg
> >
> >
> > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Can you check secstorage.ssl.cert.domain in global settings and 
> > > see if it's the correct one?
> > > Should be *.blah.tld or whatever your domain is.
> > >
> > >
> > > HTH
> > > Lucian
> > >
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > >
> > > Nux!
> > > www.nux.ro
> > >
> > > ----- Original Message -----
> > > > From: "Andrija Panic" <an...@gmail.com>
> > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > >
> > > > Hi guys,
> > > >
> > > > our SSL just expired, and I needed to upload new ROOT CA, 
> > > > Intemediata
> > > ROOT
> > > > CA, and at the end SSL for sever and a private key.
> > > >
> > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > Intermediate
> > > > ROOT CA, via API, with URL encoded stuff - checked in database 
> > > > all seems
> > > OK.
> > > >
> > > > But after uploading new SSL and private key, destroyed CPVM and 
> > > > SSVM
> > > > - my Console Proxy shows *.realiphost.com as the domain for the 
> > > > SSL wjen I access
> > > >
> > > > Any clues what I did wrong ?
> > > > Should I have somehow removed first old ROOT CA and old 
> > > > Intermediate CA, and upload new ones ?
> > > >
> > > > Here is database content from cloud.keystore:
> > > > http://snag.gy/LMA4h.jpg
> > > >
> > > > This means that for some reason, original realiphost.com SSL is 
> > > > now used inside CPVM...
> > > >
> > > > Any help greatly appreciated, since this is live system...
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Suresh Sadhu <Su...@citrix.com>.
Good  to hear. If you feel documentation is not clear then please raise the doc bug for the same.

Regards
Sadhu


-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com] 
Sent: 15 April 2015 16:39
To: dev@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Hi guys,

just to update - issue solved:

Deleted the 5th row, so only 4 additional rows left (as original keystore table layout prior to replacing certificate)

The problem was actually, while URL encoding ROOT CA and Intermediate CA, the plus sign ( + ) was replaced by SPACE...

Thanks for all the help everybody


On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:

>  If you have taken backup of  your  table(keystore) before upload then 
> you revert to previous state then upload the certificates again.
>
> Encode(url ecode) the  root and intermediate keys while uploading 
> through api Root - seq 1 Intermediate  seq 2
>
>  And while uploading server certificate  through UI  don 't  encode 
> the keys  ,enter only  server certificate and private key(it should be 
> PKCS#8
> format) and domain name  because you have already uploaded root and 
> intermediate through API.( how to check certificate uploaded correctly 
> or not on system vms ,just run the keytool  -list on system vms --for
> syntax/description   ref this blog it might useful to you :
> http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-whi
> le.html
> )
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 23:19
> To: dev@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Thanks Suresh.
>
> 2 identical sequence numbers means:  first occurence is OLD 
> Intermediate CA(from 1 year ago), and the second occurence is the new 
> one just uploaded (it happened I used different names)
>
> for ROOT CA - it happened I used the same name "ROOT1" so the old one 
> got overwriten with seq number 1
>
> Do you expect I should delete the old Intermediate1 CA manually (and 
> leave only the new one) ?
> Or am I expected to upload again ROOT/intermediate with exact same 
> names and seq numbers ?
>
> Thanks
>
> On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
>
> > I see same sequence number for 2 intermediate certificates. does 
> > your certificate has multiple  intermediate certificate or it has only one.
> >
> > The reason for getting realhost ip is . your certificate is not 
> > applied correctly  that is reason it's still refer the old certificate.
> >
> >
> > Regards
> > sadhu
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: 07 April 2015 22:56
> > To: users@cloudstack.apache.org
> > Cc: dev@cloudstack.apache.org
> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > Hi Lucian
> >
> > yes it is *.domain.com (from 4.3.1 onwards)...
> >
> > If you can check my attached image, keystore tableseems messed a 
> > little bit
> > :)
> > http://snag.gy/LMA4h.jpg
> >
> >
> > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Can you check secstorage.ssl.cert.domain in global settings and 
> > > see if it's the correct one?
> > > Should be *.blah.tld or whatever your domain is.
> > >
> > >
> > > HTH
> > > Lucian
> > >
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > >
> > > Nux!
> > > www.nux.ro
> > >
> > > ----- Original Message -----
> > > > From: "Andrija Panic" <an...@gmail.com>
> > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > >
> > > > Hi guys,
> > > >
> > > > our SSL just expired, and I needed to upload new ROOT CA, 
> > > > Intemediata
> > > ROOT
> > > > CA, and at the end SSL for sever and a private key.
> > > >
> > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > Intermediate
> > > > ROOT CA, via API, with URL encoded stuff - checked in database 
> > > > all seems
> > > OK.
> > > >
> > > > But after uploading new SSL and private key, destroyed CPVM and 
> > > > SSVM
> > > > - my Console Proxy shows *.realiphost.com as the domain for the 
> > > > SSL wjen I access
> > > >
> > > > Any clues what I did wrong ?
> > > > Should I have somehow removed first old ROOT CA and old 
> > > > Intermediate CA, and upload new ones ?
> > > >
> > > > Here is database content from cloud.keystore:
> > > > http://snag.gy/LMA4h.jpg
> > > >
> > > > This means that for some reason, original realiphost.com SSL is 
> > > > now used inside CPVM...
> > > >
> > > > Any help greatly appreciated, since this is live system...
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Hi guys,

just to update - issue solved:

Deleted the 5th row, so only 4 additional rows left (as original keystore
table layout prior to replacing certificate)

The problem was actually, while URL encoding ROOT CA and Intermediate CA,
the plus sign ( + ) was replaced by SPACE...

Thanks for all the help everybody


On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:

>  If you have taken backup of  your  table(keystore) before upload then you
> revert to previous state then upload the certificates again.
>
> Encode(url ecode) the  root and intermediate keys while uploading through
> api
> Root - seq 1
> Intermediate  seq 2
>
>  And while uploading server certificate  through UI  don 't  encode the
> keys  ,enter only  server certificate and private key(it should be PKCS#8
> format) and domain name  because you have already uploaded root and
> intermediate through API.( how to check certificate uploaded correctly or
> not on system vms ,just run the keytool  -list on system vms --for
> syntax/description   ref this blog it might useful to you :
> http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-while.html
> )
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 23:19
> To: dev@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Thanks Suresh.
>
> 2 identical sequence numbers means:  first occurence is OLD Intermediate
> CA(from 1 year ago), and the second occurence is the new one just uploaded
> (it happened I used different names)
>
> for ROOT CA - it happened I used the same name "ROOT1" so the old one got
> overwriten with seq number 1
>
> Do you expect I should delete the old Intermediate1 CA manually (and leave
> only the new one) ?
> Or am I expected to upload again ROOT/intermediate with exact same names
> and seq numbers ?
>
> Thanks
>
> On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
>
> > I see same sequence number for 2 intermediate certificates. does your
> > certificate has multiple  intermediate certificate or it has only one.
> >
> > The reason for getting realhost ip is . your certificate is not
> > applied correctly  that is reason it's still refer the old certificate.
> >
> >
> > Regards
> > sadhu
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: 07 April 2015 22:56
> > To: users@cloudstack.apache.org
> > Cc: dev@cloudstack.apache.org
> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > Hi Lucian
> >
> > yes it is *.domain.com (from 4.3.1 onwards)...
> >
> > If you can check my attached image, keystore tableseems messed a
> > little bit
> > :)
> > http://snag.gy/LMA4h.jpg
> >
> >
> > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Can you check secstorage.ssl.cert.domain in global settings and see
> > > if it's the correct one?
> > > Should be *.blah.tld or whatever your domain is.
> > >
> > >
> > > HTH
> > > Lucian
> > >
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > >
> > > Nux!
> > > www.nux.ro
> > >
> > > ----- Original Message -----
> > > > From: "Andrija Panic" <an...@gmail.com>
> > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > >
> > > > Hi guys,
> > > >
> > > > our SSL just expired, and I needed to upload new ROOT CA,
> > > > Intemediata
> > > ROOT
> > > > CA, and at the end SSL for sever and a private key.
> > > >
> > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > Intermediate
> > > > ROOT CA, via API, with URL encoded stuff - checked in database all
> > > > seems
> > > OK.
> > > >
> > > > But after uploading new SSL and private key, destroyed CPVM and
> > > > SSVM
> > > > - my Console Proxy shows *.realiphost.com as the domain for the
> > > > SSL wjen I access
> > > >
> > > > Any clues what I did wrong ?
> > > > Should I have somehow removed first old ROOT CA and old
> > > > Intermediate CA, and upload new ones ?
> > > >
> > > > Here is database content from cloud.keystore:
> > > > http://snag.gy/LMA4h.jpg
> > > >
> > > > This means that for some reason, original realiphost.com SSL is
> > > > now used inside CPVM...
> > > >
> > > > Any help greatly appreciated, since this is live system...
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Hi guys,

just to update - issue solved:

Deleted the 5th row, so only 4 additional rows left (as original keystore
table layout prior to replacing certificate)

The problem was actually, while URL encoding ROOT CA and Intermediate CA,
the plus sign ( + ) was replaced by SPACE...

Thanks for all the help everybody


On 7 April 2015 at 20:10, Suresh Sadhu <Su...@citrix.com> wrote:

>  If you have taken backup of  your  table(keystore) before upload then you
> revert to previous state then upload the certificates again.
>
> Encode(url ecode) the  root and intermediate keys while uploading through
> api
> Root - seq 1
> Intermediate  seq 2
>
>  And while uploading server certificate  through UI  don 't  encode the
> keys  ,enter only  server certificate and private key(it should be PKCS#8
> format) and domain name  because you have already uploaded root and
> intermediate through API.( how to check certificate uploaded correctly or
> not on system vms ,just run the keytool  -list on system vms --for
> syntax/description   ref this blog it might useful to you :
> http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-while.html
> )
>
> Regards
> Sadhu
>
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 23:19
> To: dev@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Thanks Suresh.
>
> 2 identical sequence numbers means:  first occurence is OLD Intermediate
> CA(from 1 year ago), and the second occurence is the new one just uploaded
> (it happened I used different names)
>
> for ROOT CA - it happened I used the same name "ROOT1" so the old one got
> overwriten with seq number 1
>
> Do you expect I should delete the old Intermediate1 CA manually (and leave
> only the new one) ?
> Or am I expected to upload again ROOT/intermediate with exact same names
> and seq numbers ?
>
> Thanks
>
> On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:
>
> > I see same sequence number for 2 intermediate certificates. does your
> > certificate has multiple  intermediate certificate or it has only one.
> >
> > The reason for getting realhost ip is . your certificate is not
> > applied correctly  that is reason it's still refer the old certificate.
> >
> >
> > Regards
> > sadhu
> >
> > -----Original Message-----
> > From: Andrija Panic [mailto:andrija.panic@gmail.com]
> > Sent: 07 April 2015 22:56
> > To: users@cloudstack.apache.org
> > Cc: dev@cloudstack.apache.org
> > Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > Hi Lucian
> >
> > yes it is *.domain.com (from 4.3.1 onwards)...
> >
> > If you can check my attached image, keystore tableseems messed a
> > little bit
> > :)
> > http://snag.gy/LMA4h.jpg
> >
> >
> > On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Can you check secstorage.ssl.cert.domain in global settings and see
> > > if it's the correct one?
> > > Should be *.blah.tld or whatever your domain is.
> > >
> > >
> > > HTH
> > > Lucian
> > >
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > >
> > > Nux!
> > > www.nux.ro
> > >
> > > ----- Original Message -----
> > > > From: "Andrija Panic" <an...@gmail.com>
> > > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> > >
> > > > Hi guys,
> > > >
> > > > our SSL just expired, and I needed to upload new ROOT CA,
> > > > Intemediata
> > > ROOT
> > > > CA, and at the end SSL for sever and a private key.
> > > >
> > > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > Intermediate
> > > > ROOT CA, via API, with URL encoded stuff - checked in database all
> > > > seems
> > > OK.
> > > >
> > > > But after uploading new SSL and private key, destroyed CPVM and
> > > > SSVM
> > > > - my Console Proxy shows *.realiphost.com as the domain for the
> > > > SSL wjen I access
> > > >
> > > > Any clues what I did wrong ?
> > > > Should I have somehow removed first old ROOT CA and old
> > > > Intermediate CA, and upload new ones ?
> > > >
> > > > Here is database content from cloud.keystore:
> > > > http://snag.gy/LMA4h.jpg
> > > >
> > > > This means that for some reason, original realiphost.com SSL is
> > > > now used inside CPVM...
> > > >
> > > > Any help greatly appreciated, since this is live system...
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Suresh Sadhu <Su...@citrix.com>.
 If you have taken backup of  your  table(keystore) before upload then you revert to previous state then upload the certificates again.

Encode(url ecode) the  root and intermediate keys while uploading through api
Root - seq 1 
Intermediate  seq 2

 And while uploading server certificate  through UI  don 't  encode the keys  ,enter only  server certificate and private key(it should be PKCS#8 format) and domain name  because you have already uploaded root and intermediate through API.( how to check certificate uploaded correctly or not on system vms ,just run the keytool  -list on system vms --for syntax/description   ref this blog it might useful to you : http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-while.html)

Regards
Sadhu


-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com] 
Sent: 07 April 2015 23:19
To: dev@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Thanks Suresh.

2 identical sequence numbers means:  first occurence is OLD Intermediate CA(from 1 year ago), and the second occurence is the new one just uploaded (it happened I used different names)

for ROOT CA - it happened I used the same name "ROOT1" so the old one got overwriten with seq number 1

Do you expect I should delete the old Intermediate1 CA manually (and leave only the new one) ?
Or am I expected to upload again ROOT/intermediate with exact same names and seq numbers ?

Thanks

On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:

> I see same sequence number for 2 intermediate certificates. does your 
> certificate has multiple  intermediate certificate or it has only one.
>
> The reason for getting realhost ip is . your certificate is not 
> applied correctly  that is reason it's still refer the old certificate.
>
>
> Regards
> sadhu
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 22:56
> To: users@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Hi Lucian
>
> yes it is *.domain.com (from 4.3.1 onwards)...
>
> If you can check my attached image, keystore tableseems messed a 
> little bit
> :)
> http://snag.gy/LMA4h.jpg
>
>
> On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
>
> > Can you check secstorage.ssl.cert.domain in global settings and see 
> > if it's the correct one?
> > Should be *.blah.tld or whatever your domain is.
> >
> >
> > HTH
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > ----- Original Message -----
> > > From: "Andrija Panic" <an...@gmail.com>
> > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > > Hi guys,
> > >
> > > our SSL just expired, and I needed to upload new ROOT CA, 
> > > Intemediata
> > ROOT
> > > CA, and at the end SSL for sever and a private key.
> > >
> > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > Intermediate
> > > ROOT CA, via API, with URL encoded stuff - checked in database all 
> > > seems
> > OK.
> > >
> > > But after uploading new SSL and private key, destroyed CPVM and 
> > > SSVM
> > > - my Console Proxy shows *.realiphost.com as the domain for the 
> > > SSL wjen I access
> > >
> > > Any clues what I did wrong ?
> > > Should I have somehow removed first old ROOT CA and old 
> > > Intermediate CA, and upload new ones ?
> > >
> > > Here is database content from cloud.keystore:
> > > http://snag.gy/LMA4h.jpg
> > >
> > > This means that for some reason, original realiphost.com SSL is 
> > > now used inside CPVM...
> > >
> > > Any help greatly appreciated, since this is live system...
> > >
> > > Thanks,
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Suresh Sadhu <Su...@citrix.com>.
 If you have taken backup of  your  table(keystore) before upload then you revert to previous state then upload the certificates again.

Encode(url ecode) the  root and intermediate keys while uploading through api
Root - seq 1 
Intermediate  seq 2

 And while uploading server certificate  through UI  don 't  encode the keys  ,enter only  server certificate and private key(it should be PKCS#8 format) and domain name  because you have already uploaded root and intermediate through API.( how to check certificate uploaded correctly or not on system vms ,just run the keytool  -list on system vms --for syntax/description   ref this blog it might useful to you : http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-while.html)

Regards
Sadhu


-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com] 
Sent: 07 April 2015 23:19
To: dev@cloudstack.apache.org
Cc: users@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Thanks Suresh.

2 identical sequence numbers means:  first occurence is OLD Intermediate CA(from 1 year ago), and the second occurence is the new one just uploaded (it happened I used different names)

for ROOT CA - it happened I used the same name "ROOT1" so the old one got overwriten with seq number 1

Do you expect I should delete the old Intermediate1 CA manually (and leave only the new one) ?
Or am I expected to upload again ROOT/intermediate with exact same names and seq numbers ?

Thanks

On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:

> I see same sequence number for 2 intermediate certificates. does your 
> certificate has multiple  intermediate certificate or it has only one.
>
> The reason for getting realhost ip is . your certificate is not 
> applied correctly  that is reason it's still refer the old certificate.
>
>
> Regards
> sadhu
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 22:56
> To: users@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Hi Lucian
>
> yes it is *.domain.com (from 4.3.1 onwards)...
>
> If you can check my attached image, keystore tableseems messed a 
> little bit
> :)
> http://snag.gy/LMA4h.jpg
>
>
> On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
>
> > Can you check secstorage.ssl.cert.domain in global settings and see 
> > if it's the correct one?
> > Should be *.blah.tld or whatever your domain is.
> >
> >
> > HTH
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > ----- Original Message -----
> > > From: "Andrija Panic" <an...@gmail.com>
> > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > > Hi guys,
> > >
> > > our SSL just expired, and I needed to upload new ROOT CA, 
> > > Intemediata
> > ROOT
> > > CA, and at the end SSL for sever and a private key.
> > >
> > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > Intermediate
> > > ROOT CA, via API, with URL encoded stuff - checked in database all 
> > > seems
> > OK.
> > >
> > > But after uploading new SSL and private key, destroyed CPVM and 
> > > SSVM
> > > - my Console Proxy shows *.realiphost.com as the domain for the 
> > > SSL wjen I access
> > >
> > > Any clues what I did wrong ?
> > > Should I have somehow removed first old ROOT CA and old 
> > > Intermediate CA, and upload new ones ?
> > >
> > > Here is database content from cloud.keystore:
> > > http://snag.gy/LMA4h.jpg
> > >
> > > This means that for some reason, original realiphost.com SSL is 
> > > now used inside CPVM...
> > >
> > > Any help greatly appreciated, since this is live system...
> > >
> > > Thanks,
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Thanks Suresh.

2 identical sequence numbers means:  first occurence is OLD Intermediate
CA(from 1 year ago), and the second occurence is the new one just uploaded
(it happened I used different names)

for ROOT CA - it happened I used the same name "ROOT1" so the old one got
overwriten with seq number 1

Do you expect I should delete the old Intermediate1 CA manually (and leave
only the new one) ?
Or am I expected to upload again ROOT/intermediate with exact same names
and seq numbers ?

Thanks

On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:

> I see same sequence number for 2 intermediate certificates. does your
> certificate has multiple  intermediate certificate or it has only one.
>
> The reason for getting realhost ip is . your certificate is not applied
> correctly  that is reason it's still refer the old certificate.
>
>
> Regards
> sadhu
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 22:56
> To: users@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Hi Lucian
>
> yes it is *.domain.com (from 4.3.1 onwards)...
>
> If you can check my attached image, keystore tableseems messed a little bit
> :)
> http://snag.gy/LMA4h.jpg
>
>
> On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
>
> > Can you check secstorage.ssl.cert.domain in global settings and see if
> > it's the correct one?
> > Should be *.blah.tld or whatever your domain is.
> >
> >
> > HTH
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > ----- Original Message -----
> > > From: "Andrija Panic" <an...@gmail.com>
> > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > > Hi guys,
> > >
> > > our SSL just expired, and I needed to upload new ROOT CA,
> > > Intemediata
> > ROOT
> > > CA, and at the end SSL for sever and a private key.
> > >
> > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > Intermediate
> > > ROOT CA, via API, with URL encoded stuff - checked in database all
> > > seems
> > OK.
> > >
> > > But after uploading new SSL and private key, destroyed CPVM and SSVM
> > > - my Console Proxy shows *.realiphost.com as the domain for the SSL
> > > wjen I access
> > >
> > > Any clues what I did wrong ?
> > > Should I have somehow removed first old ROOT CA and old Intermediate
> > > CA, and upload new ones ?
> > >
> > > Here is database content from cloud.keystore:
> > > http://snag.gy/LMA4h.jpg
> > >
> > > This means that for some reason, original realiphost.com SSL is now
> > > used inside CPVM...
> > >
> > > Any help greatly appreciated, since this is live system...
> > >
> > > Thanks,
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Thanks Suresh.

2 identical sequence numbers means:  first occurence is OLD Intermediate
CA(from 1 year ago), and the second occurence is the new one just uploaded
(it happened I used different names)

for ROOT CA - it happened I used the same name "ROOT1" so the old one got
overwriten with seq number 1

Do you expect I should delete the old Intermediate1 CA manually (and leave
only the new one) ?
Or am I expected to upload again ROOT/intermediate with exact same names
and seq numbers ?

Thanks

On 7 April 2015 at 19:43, Suresh Sadhu <Su...@citrix.com> wrote:

> I see same sequence number for 2 intermediate certificates. does your
> certificate has multiple  intermediate certificate or it has only one.
>
> The reason for getting realhost ip is . your certificate is not applied
> correctly  that is reason it's still refer the old certificate.
>
>
> Regards
> sadhu
>
> -----Original Message-----
> From: Andrija Panic [mailto:andrija.panic@gmail.com]
> Sent: 07 April 2015 22:56
> To: users@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> Hi Lucian
>
> yes it is *.domain.com (from 4.3.1 onwards)...
>
> If you can check my attached image, keystore tableseems messed a little bit
> :)
> http://snag.gy/LMA4h.jpg
>
>
> On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:
>
> > Can you check secstorage.ssl.cert.domain in global settings and see if
> > it's the correct one?
> > Should be *.blah.tld or whatever your domain is.
> >
> >
> > HTH
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > ----- Original Message -----
> > > From: "Andrija Panic" <an...@gmail.com>
> > > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > > Sent: Tuesday, 7 April, 2015 17:42:35
> > > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
> >
> > > Hi guys,
> > >
> > > our SSL just expired, and I needed to upload new ROOT CA,
> > > Intemediata
> > ROOT
> > > CA, and at the end SSL for sever and a private key.
> > >
> > > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > Intermediate
> > > ROOT CA, via API, with URL encoded stuff - checked in database all
> > > seems
> > OK.
> > >
> > > But after uploading new SSL and private key, destroyed CPVM and SSVM
> > > - my Console Proxy shows *.realiphost.com as the domain for the SSL
> > > wjen I access
> > >
> > > Any clues what I did wrong ?
> > > Should I have somehow removed first old ROOT CA and old Intermediate
> > > CA, and upload new ones ?
> > >
> > > Here is database content from cloud.keystore:
> > > http://snag.gy/LMA4h.jpg
> > >
> > > This means that for some reason, original realiphost.com SSL is now
> > > used inside CPVM...
> > >
> > > Any help greatly appreciated, since this is live system...
> > >
> > > Thanks,
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Suresh Sadhu <Su...@citrix.com>.
I see same sequence number for 2 intermediate certificates. does your certificate has multiple  intermediate certificate or it has only one.

The reason for getting realhost ip is . your certificate is not applied correctly  that is reason it's still refer the old certificate.


Regards
sadhu

-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com] 
Sent: 07 April 2015 22:56
To: users@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Hi Lucian

yes it is *.domain.com (from 4.3.1 onwards)...

If you can check my attached image, keystore tableseems messed a little bit
:)
http://snag.gy/LMA4h.jpg


On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:

> Can you check secstorage.ssl.cert.domain in global settings and see if 
> it's the correct one?
> Should be *.blah.tld or whatever your domain is.
>
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Andrija Panic" <an...@gmail.com>
> > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > Sent: Tuesday, 7 April, 2015 17:42:35
> > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> > Hi guys,
> >
> > our SSL just expired, and I needed to upload new ROOT CA, 
> > Intemediata
> ROOT
> > CA, and at the end SSL for sever and a private key.
> >
> > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> Intermediate
> > ROOT CA, via API, with URL encoded stuff - checked in database all 
> > seems
> OK.
> >
> > But after uploading new SSL and private key, destroyed CPVM and SSVM 
> > - my Console Proxy shows *.realiphost.com as the domain for the SSL 
> > wjen I access
> >
> > Any clues what I did wrong ?
> > Should I have somehow removed first old ROOT CA and old Intermediate 
> > CA, and upload new ones ?
> >
> > Here is database content from cloud.keystore:
> > http://snag.gy/LMA4h.jpg
> >
> > This means that for some reason, original realiphost.com SSL is now 
> > used inside CPVM...
> >
> > Any help greatly appreciated, since this is live system...
> >
> > Thanks,
> >
> >
> >
> > --
> >
> > Andrija Panić
>



-- 

Andrija Panić

RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Suresh Sadhu <Su...@citrix.com>.
I see same sequence number for 2 intermediate certificates. does your certificate has multiple  intermediate certificate or it has only one.

The reason for getting realhost ip is . your certificate is not applied correctly  that is reason it's still refer the old certificate.


Regards
sadhu

-----Original Message-----
From: Andrija Panic [mailto:andrija.panic@gmail.com] 
Sent: 07 April 2015 22:56
To: users@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Hi Lucian

yes it is *.domain.com (from 4.3.1 onwards)...

If you can check my attached image, keystore tableseems messed a little bit
:)
http://snag.gy/LMA4h.jpg


On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:

> Can you check secstorage.ssl.cert.domain in global settings and see if 
> it's the correct one?
> Should be *.blah.tld or whatever your domain is.
>
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Andrija Panic" <an...@gmail.com>
> > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > Sent: Tuesday, 7 April, 2015 17:42:35
> > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> > Hi guys,
> >
> > our SSL just expired, and I needed to upload new ROOT CA, 
> > Intemediata
> ROOT
> > CA, and at the end SSL for sever and a private key.
> >
> > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> Intermediate
> > ROOT CA, via API, with URL encoded stuff - checked in database all 
> > seems
> OK.
> >
> > But after uploading new SSL and private key, destroyed CPVM and SSVM 
> > - my Console Proxy shows *.realiphost.com as the domain for the SSL 
> > wjen I access
> >
> > Any clues what I did wrong ?
> > Should I have somehow removed first old ROOT CA and old Intermediate 
> > CA, and upload new ones ?
> >
> > Here is database content from cloud.keystore:
> > http://snag.gy/LMA4h.jpg
> >
> > This means that for some reason, original realiphost.com SSL is now 
> > used inside CPVM...
> >
> > Any help greatly appreciated, since this is live system...
> >
> > Thanks,
> >
> >
> >
> > --
> >
> > Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Hi Lucian

yes it is *.domain.com (from 4.3.1 onwards)...

If you can check my attached image, keystore tableseems messed a little bit
:)
http://snag.gy/LMA4h.jpg


On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:

> Can you check secstorage.ssl.cert.domain in global settings and see if
> it's the correct one?
> Should be *.blah.tld or whatever your domain is.
>
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Andrija Panic" <an...@gmail.com>
> > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > Sent: Tuesday, 7 April, 2015 17:42:35
> > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> > Hi guys,
> >
> > our SSL just expired, and I needed to upload new ROOT CA, Intemediata
> ROOT
> > CA, and at the end SSL for sever and a private key.
> >
> > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> Intermediate
> > ROOT CA, via API, with URL encoded stuff - checked in database all seems
> OK.
> >
> > But after uploading new SSL and private key, destroyed CPVM and SSVM - my
> > Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> > access
> >
> > Any clues what I did wrong ?
> > Should I have somehow removed first old ROOT CA and old Intermediate CA,
> > and upload new ones ?
> >
> > Here is database content from cloud.keystore:
> > http://snag.gy/LMA4h.jpg
> >
> > This means that for some reason, original realiphost.com SSL is now used
> > inside CPVM...
> >
> > Any help greatly appreciated, since this is live system...
> >
> > Thanks,
> >
> >
> >
> > --
> >
> > Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Hi Lucian

yes it is *.domain.com (from 4.3.1 onwards)...

If you can check my attached image, keystore tableseems messed a little bit
:)
http://snag.gy/LMA4h.jpg


On 7 April 2015 at 19:12, Nux! <nu...@li.nux.ro> wrote:

> Can you check secstorage.ssl.cert.domain in global settings and see if
> it's the correct one?
> Should be *.blah.tld or whatever your domain is.
>
>
> HTH
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Andrija Panic" <an...@gmail.com>
> > To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> > Sent: Tuesday, 7 April, 2015 17:42:35
> > Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
>
> > Hi guys,
> >
> > our SSL just expired, and I needed to upload new ROOT CA, Intemediata
> ROOT
> > CA, and at the end SSL for sever and a private key.
> >
> > I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> Intermediate
> > ROOT CA, via API, with URL encoded stuff - checked in database all seems
> OK.
> >
> > But after uploading new SSL and private key, destroyed CPVM and SSVM - my
> > Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> > access
> >
> > Any clues what I did wrong ?
> > Should I have somehow removed first old ROOT CA and old Intermediate CA,
> > and upload new ones ?
> >
> > Here is database content from cloud.keystore:
> > http://snag.gy/LMA4h.jpg
> >
> > This means that for some reason, original realiphost.com SSL is now used
> > inside CPVM...
> >
> > Any help greatly appreciated, since this is live system...
> >
> > Thanks,
> >
> >
> >
> > --
> >
> > Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Nux! <nu...@li.nux.ro>.
Can you check secstorage.ssl.cert.domain in global settings and see if it's the correct one?
Should be *.blah.tld or whatever your domain is.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Andrija Panic" <an...@gmail.com>
> To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> Sent: Tuesday, 7 April, 2015 17:42:35
> Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

> Hi guys,
> 
> our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
> CA, and at the end SSL for sever and a private key.
> 
> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded Intermediate
> ROOT CA, via API, with URL encoded stuff - checked in database all seems OK.
> 
> But after uploading new SSL and private key, destroyed CPVM and SSVM - my
> Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> access
> 
> Any clues what I did wrong ?
> Should I have somehow removed first old ROOT CA and old Intermediate CA,
> and upload new ones ?
> 
> Here is database content from cloud.keystore:
> http://snag.gy/LMA4h.jpg
> 
> This means that for some reason, original realiphost.com SSL is now used
> inside CPVM...
> 
> Any help greatly appreciated, since this is live system...
> 
> Thanks,
> 
> 
> 
> --
> 
> Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Erik Weber <te...@gmail.com>.
I would try to delete the keystore table (after backup),    then add the
cert.

Erik

Den tirsdag 7. april 2015 skrev Andrija Panic <an...@gmail.com>
følgende:

> I did found this in log:
>
> 2015-04-07 18:00:45,163 WARN  [c.c.k.KeystoreManagerImpl]
> (AgentConnectTaskPool-117:ctx-2a501782) Unable to build keystore for
> CPVMCertificate due to CertificateException
> 2015-04-07 18:00:45,163 ERROR [c.c.c.AgentHookBase]
> (AgentConnectTaskPool-117:ctx-2a501782) Could not find and construct a
> valid SSL certificate
>
> Any clues on this ?
>
> On 7 April 2015 at 19:01, Andrija Panic <andrija.panic@gmail.com
> <javascript:;>> wrote:
>
> > ok, I'm on 4.3.2, so there is only UI field for cert, key and
> > domainname.... so no field for i.e. password, as the key would have to
> been
> > decrypted sometimes if it is encrypted.
> >
> > My possible problem - I see both old intermediate1 cert and the new
> > intermediate1 cert in database, but only 1 ROOT CA (might have been - I
> > used the same name so odl ROOT CA was overwriten)
> >
> > Main CERT and the key looks fine in database...
> >
> >
> > On 7 April 2015 at 18:59, Erik Weber <terbolous@gmail.com <javascript:;>>
> wrote:
> >
> >> Your private key is decrypted, my issue was that it should've been
> >> encrypted.
> >>
> >> However, that could be 4.5 specific. You'll get an exception if you
> >> encounter the same.
> >>
> >>
> >> Erik
> >>
> >> Den tirsdag 7. april 2015 skrev Andrija Panic <andrija.panic@gmail.com
> <javascript:;>>
> >> følgende:
> >>
> >> > Thx Erik,
> >> >
> >> > per my understanding, private key needs to be DEcrypted, and uploaded
> >> > through UI... ?
> >> >
> >> > On 7 April 2015 at 18:48, Erik Weber <terbolous@gmail.com
> <javascript:;>
> >> <javascript:;>>
> >> > wrote:
> >> >
> >> > > Also, take a backup first, then remove the realhostip occurence and
> >> set
> >> > seq
> >> > > to 0 for your cert.
> >> > >
> >> > > Erik
> >> > >
> >> > > Den tirsdag 7. april 2015 skrev Erik Weber <terbolous@gmail.com
> <javascript:;>
> >> > <javascript:;>> følgende:
> >> > >
> >> > > > Nothing in the logs?
> >> > > >
> >> > > > I had an issue where the private key wasn't being encrypted and
> had
> >> to
> >> > > fix
> >> > > > it by encrypting manually. But I also had could not decrypt
> >> exceptions
> >> > in
> >> > > > the logs.
> >> > > >
> >> > > > Erik
> >> > > >
> >> > > > Den tirsdag 7. april 2015 skrev Andrija Panic <
> >> andrija.panic@gmail.com <javascript:;>
> >> > <javascript:;>
> >> > > > <javascript:_e(%7B%7D,'cvml','andrija.panic@gmail.com
> <javascript:;>
> >> <javascript:;>');>>
> >> > følgende:
> >> > > >
> >> > > >> Hi guys,
> >> > > >>
> >> > > >> our SSL just expired, and I needed to upload new ROOT CA,
> >> Intemediata
> >> > > ROOT
> >> > > >> CA, and at the end SSL for sever and a private key.
> >> > > >>
> >> > > >> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> >> > > >> Intermediate
> >> > > >> ROOT CA, via API, with URL encoded stuff - checked in database
> all
> >> > seems
> >> > > >> OK.
> >> > > >>
> >> > > >> But after uploading new SSL and private key, destroyed CPVM and
> >> SSVM -
> >> > > my
> >> > > >> Console Proxy shows *.realiphost.com as the domain for the SSL
> >> wjen I
> >> > > >> access
> >> > > >>
> >> > > >> Any clues what I did wrong ?
> >> > > >> Should I have somehow removed first old ROOT CA and old
> >> Intermediate
> >> > CA,
> >> > > >> and upload new ones ?
> >> > > >>
> >> > > >> Here is database content from cloud.keystore:
> >> > > >> http://snag.gy/LMA4h.jpg
> >> > > >>
> >> > > >> This means that for some reason, original realiphost.com SSL is
> >> now
> >> > > used
> >> > > >> inside CPVM...
> >> > > >>
> >> > > >> Any help greatly appreciated, since this is live system...
> >> > > >>
> >> > > >> Thanks,
> >> > > >>
> >> > > >>
> >> > > >>
> >> > > >> --
> >> > > >>
> >> > > >> Andrija Panić
> >> > > >>
> >> > > >
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> >
> >> > Andrija Panić
> >> >
> >>
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
>
> --
>
> Andrija Panić
>

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
I did found this in log:

2015-04-07 18:00:45,163 WARN  [c.c.k.KeystoreManagerImpl]
(AgentConnectTaskPool-117:ctx-2a501782) Unable to build keystore for
CPVMCertificate due to CertificateException
2015-04-07 18:00:45,163 ERROR [c.c.c.AgentHookBase]
(AgentConnectTaskPool-117:ctx-2a501782) Could not find and construct a
valid SSL certificate

Any clues on this ?

On 7 April 2015 at 19:01, Andrija Panic <an...@gmail.com> wrote:

> ok, I'm on 4.3.2, so there is only UI field for cert, key and
> domainname.... so no field for i.e. password, as the key would have to been
> decrypted sometimes if it is encrypted.
>
> My possible problem - I see both old intermediate1 cert and the new
> intermediate1 cert in database, but only 1 ROOT CA (might have been - I
> used the same name so odl ROOT CA was overwriten)
>
> Main CERT and the key looks fine in database...
>
>
> On 7 April 2015 at 18:59, Erik Weber <te...@gmail.com> wrote:
>
>> Your private key is decrypted, my issue was that it should've been
>> encrypted.
>>
>> However, that could be 4.5 specific. You'll get an exception if you
>> encounter the same.
>>
>>
>> Erik
>>
>> Den tirsdag 7. april 2015 skrev Andrija Panic <an...@gmail.com>
>> følgende:
>>
>> > Thx Erik,
>> >
>> > per my understanding, private key needs to be DEcrypted, and uploaded
>> > through UI... ?
>> >
>> > On 7 April 2015 at 18:48, Erik Weber <terbolous@gmail.com
>> <javascript:;>>
>> > wrote:
>> >
>> > > Also, take a backup first, then remove the realhostip occurence and
>> set
>> > seq
>> > > to 0 for your cert.
>> > >
>> > > Erik
>> > >
>> > > Den tirsdag 7. april 2015 skrev Erik Weber <terbolous@gmail.com
>> > <javascript:;>> følgende:
>> > >
>> > > > Nothing in the logs?
>> > > >
>> > > > I had an issue where the private key wasn't being encrypted and had
>> to
>> > > fix
>> > > > it by encrypting manually. But I also had could not decrypt
>> exceptions
>> > in
>> > > > the logs.
>> > > >
>> > > > Erik
>> > > >
>> > > > Den tirsdag 7. april 2015 skrev Andrija Panic <
>> andrija.panic@gmail.com
>> > <javascript:;>
>> > > > <javascript:_e(%7B%7D,'cvml','andrija.panic@gmail.com
>> <javascript:;>');>>
>> > følgende:
>> > > >
>> > > >> Hi guys,
>> > > >>
>> > > >> our SSL just expired, and I needed to upload new ROOT CA,
>> Intemediata
>> > > ROOT
>> > > >> CA, and at the end SSL for sever and a private key.
>> > > >>
>> > > >> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
>> > > >> Intermediate
>> > > >> ROOT CA, via API, with URL encoded stuff - checked in database all
>> > seems
>> > > >> OK.
>> > > >>
>> > > >> But after uploading new SSL and private key, destroyed CPVM and
>> SSVM -
>> > > my
>> > > >> Console Proxy shows *.realiphost.com as the domain for the SSL
>> wjen I
>> > > >> access
>> > > >>
>> > > >> Any clues what I did wrong ?
>> > > >> Should I have somehow removed first old ROOT CA and old
>> Intermediate
>> > CA,
>> > > >> and upload new ones ?
>> > > >>
>> > > >> Here is database content from cloud.keystore:
>> > > >> http://snag.gy/LMA4h.jpg
>> > > >>
>> > > >> This means that for some reason, original realiphost.com SSL is
>> now
>> > > used
>> > > >> inside CPVM...
>> > > >>
>> > > >> Any help greatly appreciated, since this is live system...
>> > > >>
>> > > >> Thanks,
>> > > >>
>> > > >>
>> > > >>
>> > > >> --
>> > > >>
>> > > >> Andrija Panić
>> > > >>
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> >
>> > Andrija Panić
>> >
>>
>
>
>
> --
>
> Andrija Panić
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
ok, I'm on 4.3.2, so there is only UI field for cert, key and
domainname.... so no field for i.e. password, as the key would have to been
decrypted sometimes if it is encrypted.

My possible problem - I see both old intermediate1 cert and the new
intermediate1 cert in database, but only 1 ROOT CA (might have been - I
used the same name so odl ROOT CA was overwriten)

Main CERT and the key looks fine in database...


On 7 April 2015 at 18:59, Erik Weber <te...@gmail.com> wrote:

> Your private key is decrypted, my issue was that it should've been
> encrypted.
>
> However, that could be 4.5 specific. You'll get an exception if you
> encounter the same.
>
>
> Erik
>
> Den tirsdag 7. april 2015 skrev Andrija Panic <an...@gmail.com>
> følgende:
>
> > Thx Erik,
> >
> > per my understanding, private key needs to be DEcrypted, and uploaded
> > through UI... ?
> >
> > On 7 April 2015 at 18:48, Erik Weber <terbolous@gmail.com
> <javascript:;>>
> > wrote:
> >
> > > Also, take a backup first, then remove the realhostip occurence and set
> > seq
> > > to 0 for your cert.
> > >
> > > Erik
> > >
> > > Den tirsdag 7. april 2015 skrev Erik Weber <terbolous@gmail.com
> > <javascript:;>> følgende:
> > >
> > > > Nothing in the logs?
> > > >
> > > > I had an issue where the private key wasn't being encrypted and had
> to
> > > fix
> > > > it by encrypting manually. But I also had could not decrypt
> exceptions
> > in
> > > > the logs.
> > > >
> > > > Erik
> > > >
> > > > Den tirsdag 7. april 2015 skrev Andrija Panic <
> andrija.panic@gmail.com
> > <javascript:;>
> > > > <javascript:_e(%7B%7D,'cvml','andrija.panic@gmail.com
> <javascript:;>');>>
> > følgende:
> > > >
> > > >> Hi guys,
> > > >>
> > > >> our SSL just expired, and I needed to upload new ROOT CA,
> Intemediata
> > > ROOT
> > > >> CA, and at the end SSL for sever and a private key.
> > > >>
> > > >> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > > >> Intermediate
> > > >> ROOT CA, via API, with URL encoded stuff - checked in database all
> > seems
> > > >> OK.
> > > >>
> > > >> But after uploading new SSL and private key, destroyed CPVM and
> SSVM -
> > > my
> > > >> Console Proxy shows *.realiphost.com as the domain for the SSL
> wjen I
> > > >> access
> > > >>
> > > >> Any clues what I did wrong ?
> > > >> Should I have somehow removed first old ROOT CA and old Intermediate
> > CA,
> > > >> and upload new ones ?
> > > >>
> > > >> Here is database content from cloud.keystore:
> > > >> http://snag.gy/LMA4h.jpg
> > > >>
> > > >> This means that for some reason, original realiphost.com SSL is now
> > > used
> > > >> inside CPVM...
> > > >>
> > > >> Any help greatly appreciated, since this is live system...
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >>
> > > >> Andrija Panić
> > > >>
> > > >
> > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Erik Weber <te...@gmail.com>.
Your private key is decrypted, my issue was that it should've been
encrypted.

However, that could be 4.5 specific. You'll get an exception if you
encounter the same.


Erik

Den tirsdag 7. april 2015 skrev Andrija Panic <an...@gmail.com>
følgende:

> Thx Erik,
>
> per my understanding, private key needs to be DEcrypted, and uploaded
> through UI... ?
>
> On 7 April 2015 at 18:48, Erik Weber <terbolous@gmail.com <javascript:;>>
> wrote:
>
> > Also, take a backup first, then remove the realhostip occurence and set
> seq
> > to 0 for your cert.
> >
> > Erik
> >
> > Den tirsdag 7. april 2015 skrev Erik Weber <terbolous@gmail.com
> <javascript:;>> følgende:
> >
> > > Nothing in the logs?
> > >
> > > I had an issue where the private key wasn't being encrypted and had to
> > fix
> > > it by encrypting manually. But I also had could not decrypt exceptions
> in
> > > the logs.
> > >
> > > Erik
> > >
> > > Den tirsdag 7. april 2015 skrev Andrija Panic <andrija.panic@gmail.com
> <javascript:;>
> > > <javascript:_e(%7B%7D,'cvml','andrija.panic@gmail.com <javascript:;>');>>
> følgende:
> > >
> > >> Hi guys,
> > >>
> > >> our SSL just expired, and I needed to upload new ROOT CA, Intemediata
> > ROOT
> > >> CA, and at the end SSL for sever and a private key.
> > >>
> > >> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> > >> Intermediate
> > >> ROOT CA, via API, with URL encoded stuff - checked in database all
> seems
> > >> OK.
> > >>
> > >> But after uploading new SSL and private key, destroyed CPVM and SSVM -
> > my
> > >> Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> > >> access
> > >>
> > >> Any clues what I did wrong ?
> > >> Should I have somehow removed first old ROOT CA and old Intermediate
> CA,
> > >> and upload new ones ?
> > >>
> > >> Here is database content from cloud.keystore:
> > >> http://snag.gy/LMA4h.jpg
> > >>
> > >> This means that for some reason, original realiphost.com SSL is now
> > used
> > >> inside CPVM...
> > >>
> > >> Any help greatly appreciated, since this is live system...
> > >>
> > >> Thanks,
> > >>
> > >>
> > >>
> > >> --
> > >>
> > >> Andrija Panić
> > >>
> > >
> >
>
>
>
> --
>
> Andrija Panić
>

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Andrija Panic <an...@gmail.com>.
Thx Erik,

per my understanding, private key needs to be DEcrypted, and uploaded
through UI... ?

On 7 April 2015 at 18:48, Erik Weber <te...@gmail.com> wrote:

> Also, take a backup first, then remove the realhostip occurence and set seq
> to 0 for your cert.
>
> Erik
>
> Den tirsdag 7. april 2015 skrev Erik Weber <te...@gmail.com> følgende:
>
> > Nothing in the logs?
> >
> > I had an issue where the private key wasn't being encrypted and had to
> fix
> > it by encrypting manually. But I also had could not decrypt exceptions in
> > the logs.
> >
> > Erik
> >
> > Den tirsdag 7. april 2015 skrev Andrija Panic <andrija.panic@gmail.com
> > <javascript:_e(%7B%7D,'cvml','andrija.panic@gmail.com');>> følgende:
> >
> >> Hi guys,
> >>
> >> our SSL just expired, and I needed to upload new ROOT CA, Intemediata
> ROOT
> >> CA, and at the end SSL for sever and a private key.
> >>
> >> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
> >> Intermediate
> >> ROOT CA, via API, with URL encoded stuff - checked in database all seems
> >> OK.
> >>
> >> But after uploading new SSL and private key, destroyed CPVM and SSVM -
> my
> >> Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> >> access
> >>
> >> Any clues what I did wrong ?
> >> Should I have somehow removed first old ROOT CA and old Intermediate CA,
> >> and upload new ones ?
> >>
> >> Here is database content from cloud.keystore:
> >> http://snag.gy/LMA4h.jpg
> >>
> >> This means that for some reason, original realiphost.com SSL is now
> used
> >> inside CPVM...
> >>
> >> Any help greatly appreciated, since this is live system...
> >>
> >> Thanks,
> >>
> >>
> >>
> >> --
> >>
> >> Andrija Panić
> >>
> >
>



-- 

Andrija Panić

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Erik Weber <te...@gmail.com>.
Also, take a backup first, then remove the realhostip occurence and set seq
to 0 for your cert.

Erik

Den tirsdag 7. april 2015 skrev Erik Weber <te...@gmail.com> følgende:

> Nothing in the logs?
>
> I had an issue where the private key wasn't being encrypted and had to fix
> it by encrypting manually. But I also had could not decrypt exceptions in
> the logs.
>
> Erik
>
> Den tirsdag 7. april 2015 skrev Andrija Panic <andrija.panic@gmail.com
> <javascript:_e(%7B%7D,'cvml','andrija.panic@gmail.com');>> følgende:
>
>> Hi guys,
>>
>> our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
>> CA, and at the end SSL for sever and a private key.
>>
>> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
>> Intermediate
>> ROOT CA, via API, with URL encoded stuff - checked in database all seems
>> OK.
>>
>> But after uploading new SSL and private key, destroyed CPVM and SSVM - my
>> Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
>> access
>>
>> Any clues what I did wrong ?
>> Should I have somehow removed first old ROOT CA and old Intermediate CA,
>> and upload new ones ?
>>
>> Here is database content from cloud.keystore:
>> http://snag.gy/LMA4h.jpg
>>
>> This means that for some reason, original realiphost.com SSL is now used
>> inside CPVM...
>>
>> Any help greatly appreciated, since this is live system...
>>
>> Thanks,
>>
>>
>>
>> --
>>
>> Andrija Panić
>>
>

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Erik Weber <te...@gmail.com>.
Nothing in the logs?

I had an issue where the private key wasn't being encrypted and had to fix
it by encrypting manually. But I also had could not decrypt exceptions in
the logs.

Erik

Den tirsdag 7. april 2015 skrev Andrija Panic <an...@gmail.com>
følgende:

> Hi guys,
>
> our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
> CA, and at the end SSL for sever and a private key.
>
> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded Intermediate
> ROOT CA, via API, with URL encoded stuff - checked in database all seems
> OK.
>
> But after uploading new SSL and private key, destroyed CPVM and SSVM - my
> Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> access
>
> Any clues what I did wrong ?
> Should I have somehow removed first old ROOT CA and old Intermediate CA,
> and upload new ones ?
>
> Here is database content from cloud.keystore:
> http://snag.gy/LMA4h.jpg
>
> This means that for some reason, original realiphost.com SSL is now used
> inside CPVM...
>
> Any help greatly appreciated, since this is live system...
>
> Thanks,
>
>
>
> --
>
> Andrija Panić
>

Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Posted by Nux! <nu...@li.nux.ro>.
Can you check secstorage.ssl.cert.domain in global settings and see if it's the correct one?
Should be *.blah.tld or whatever your domain is.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Andrija Panic" <an...@gmail.com>
> To: users@cloudstack.apache.org, dev@cloudstack.apache.org
> Sent: Tuesday, 7 April, 2015 17:42:35
> Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

> Hi guys,
> 
> our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
> CA, and at the end SSL for sever and a private key.
> 
> I uploaded new ROOT CA, and after CPVM rebooted, also uploaded Intermediate
> ROOT CA, via API, with URL encoded stuff - checked in database all seems OK.
> 
> But after uploading new SSL and private key, destroyed CPVM and SSVM - my
> Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
> access
> 
> Any clues what I did wrong ?
> Should I have somehow removed first old ROOT CA and old Intermediate CA,
> and upload new ones ?
> 
> Here is database content from cloud.keystore:
> http://snag.gy/LMA4h.jpg
> 
> This means that for some reason, original realiphost.com SSL is now used
> inside CPVM...
> 
> Any help greatly appreciated, since this is live system...
> 
> Thanks,
> 
> 
> 
> --
> 
> Andrija Panić