You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Michael Phillips (JIRA)" <ji...@apache.org> on 2014/08/24 17:27:38 UTC

[jira] [Reopened] (CLOUDSTACK-6378) SSL: Fail to find the generated keystore.

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Phillips reopened CLOUDSTACK-6378:
------------------------------------------


So this seems to still be an issue despite being marked resolved.

Today I installed a fresh install of cloudstack 4.4.0 on centos 6.5. Once again the logs were filled with the following error.

"WARN  [c.c.u.n.Link] (AgentManager-Selector:null) SSL: Fail to find the generated keystore. Loading fail-safe one to continue."

What I did this time to fix the issue was to move "/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/cloudmanagementserver.keystore" to "/etc/cloudstack/management/cloud.keystore" then restart cloudstack. Once completed I noted the following in the log which indicates to me it's fixed.

INFO  [c.c.s.ConfigurationServerImpl] (main:null) SSL keystore located at /etc/cloudstack/management/cloud.keystore
2014-08-24 10:18:23,162 INFO  [c.c.s.ConfigurationServerImpl] (main:null) Stored SSL keystore to database.

> SSL: Fail to find the generated keystore.
> -----------------------------------------
>
>                 Key: CLOUDSTACK-6378
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6378
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.1, 4.3.0, 4.4.0
>         Environment: Confirmed this is an issue on centos 6.5 and ubuntu 12.04 on both versions of Cloudstack 4.2.1 and 4.3.0
>            Reporter: Michael Phillips
>            Assignee: Kishan Kavala
>            Priority: Minor
>
> The logs on versions 4.2.1 and 4.3.0 get filled with the following error:
> WARN [c.c.u.n.Link] (AgentManager-Selector:null) SSL: Fail to find the generated keystore. Loading fail-safe one to continue.
> In 4.2.1, the fix was to rename cloudmanagementserver.keystore, to cloud.keystore then restart cloudstack.
> In 4.3.0, the system by default does not create the file named cloudmanagementserver.keystore. You now have to create the keystore file by running "sudo keytool -genkey -keystore", then name the file cloud.keystore. This error is reproducible, and confirmed by other users.



--
This message was sent by Atlassian JIRA
(v6.2#6252)