简体   繁体   English

Euca 5.0 启用 SSL 与组合 CLC 和集群 Controller?

[英]Euca 5.0 Enable SSL with Combined CLC and Cluster Controller?

I have completed an automated ansible install and have most of the wrinkles worked out.我已经完成了一个自动化的 ansible 安装,并且大部分的皱纹都解决了。

All of my services except Nodes are running on a single box on non-secure HTTP though I specified 443 in my inventory I see now that does not imply an HTTPS configuration.除了节点之外,我的所有服务都在非安全 HTTP 上的单个机器上运行,尽管我在我的库存中指定了 443,但我现在看到这并不意味着 HTTPS 配置。 So I have non-secure API endpoints listening on 443.所以我有非安全的 API 端点在 443 上监听。

Is there any way around the requirements of operating CLC and Cluster Controller on different hardware as described in the SSL howto: https://docs.eucalyptus.cloud/eucalyptus/5/admin_guide/managing_system/bps/configuring_ssl/ Is there any way around the requirements of operating CLC and Cluster Controller on different hardware as described in the SSL howto: https://docs.eucalyptus.cloud/eucalyptus/5/admin_guide/managing_system/bps/configuring_ssl/

I've read that how-to and can only guess that installing certs on the CLC messes up the Cluster Controller keys but I don't fully grasp it.我已经阅读了该操作方法并且只能猜测在 CLC 上安装证书会弄乱 Cluster Controller 密钥,但我并没有完全掌握它。 Am I wasting my time trying to find a workaround or can I keep these services on the same box and still achieve SSL?我是在浪费时间寻找解决方法,还是可以将这些服务保留在同一个盒子上并仍然实现 SSL?

When you deploy eucalyptus using the ansible playbook a script will be available:当您使用 ansible playbook 部署 eucalyptus 时,将提供一个脚本:

# /usr/local/bin/eucalyptus-cloud-https-import --help
Usage:

    eucalyptus-cloud-https-import [--alias ALIAS] [--key FILE] [--certs FILE]

which can be used to import a key and certificate chain from PEM files.可用于从 PEM 文件导入密钥和证书链。

Alternatively you can follow the manual steps from the documentation that you referenced.或者,您可以按照您引用的文档中的手动步骤进行操作。

It is fine to use HTTPS with all components on a single host, the documentation is out of date.可以将 HTTPS 与单个主机上的所有组件一起使用,文档已过时。

Eucalyptus will detect if an HTTP(S) connection is using TLS (SSL) and use the configured certificate when appropriate. Eucalyptus 将检测 HTTP(S) 连接是否使用 TLS (SSL) 并在适当时使用配置的证书。

It is recommended to use the ansible playbook certbot / Let's Encrypt integration for the HTTPS certificate when possible.建议尽可能使用 ansible playbook certbot / Let's Encrypt 集成HTTPS 证书。

When manually provisioning certificates, wildcards can be used (*.DOMAIN *.s3.DOMAIN) so that all services and S3 buckets are included.手动配置证书时,可以使用通配符 (*.DOMAIN *.s3.DOMAIN),以便包含所有服务和 S3 存储桶。 If a wildcard certificate is not possible then the certificate should include the service endpoint names if possible (autoscaling, bootstrap, cloudformation, ec2, elasticloadbalancing, iam, monitoring, properties, route53, s3, sqs, sts, swf)如果无法使用通配符证书,则证书应尽可能包含服务端点名称(autoscaling、bootstrap、cloudformation、ec2、elasticloadbalancing、iam、monitoring、properties、route53、s3、sqs、sts、swf)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM