ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
The http(s) client used by the SSVM to download templates does not support SNI (Server Name Indication).
Templates available on webservers using https and SNI (e.g. behind Cloudfront) cannot be downloaded.
STEPS TO REPRODUCE
Register template from URL, with e.g.:
EXPECTED RESULTS
Template is expected to be downloaded in the zone.
ACTUAL RESULTS
Template download fails in the zone, with message:
Received fatal alert: handshake_failure
Temporary fix
- Log in the SSVM using SSH
- Edit
/usr/local/cloud/systemvm/_run.sh to replace -Djsse.enableSNIExtension=false by -Djsse.enableSNIExtension=true
- Restart the SSVM
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
The http(s) client used by the SSVM to download templates does not support SNI (Server Name Indication).
Templates available on webservers using https and SNI (e.g. behind Cloudfront) cannot be downloaded.
STEPS TO REPRODUCE
Register template from URL, with e.g.:
EXPECTED RESULTS
Template is expected to be downloaded in the zone.
ACTUAL RESULTS
Template download fails in the zone, with message:
Temporary fix
/usr/local/cloud/systemvm/_run.shto replace-Djsse.enableSNIExtension=falseby-Djsse.enableSNIExtension=true