Alireza Eskandari created CLOUDSTACK-10062:
----------------------------------------------
Summary: Worng SSL certificate for SSVM in server mode
Key: CLOUDSTACK-10062
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10062
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: SystemVM
Affects Versions: 4.10.0.0, 4.9.0, 4.9.2.0
Reporter: Alireza Eskandari
SSVM represents worng SSL certificate to clients when they want download
iso/template.
The SSL is a self signed certificate which is issued for "systemvm".
I investigate about the problem and found the cause:
Enabling SSL for SSVM triggers "/usr/local/cloud/systemvm/config_ssl.sh".
"config_ssl.sh" edits some parameters in
"/etc/apache2/sites-available/default-ssl".
But "/etc/init.d/cloud-early-config" uses "/etc/apache2/vhost.template" to
create "/etc/apache2/sites-enabled/vhost-<ip>.conf" and don't use
"/etc/apache2/sites-available/default-ssl"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)