Movatterモバイル変換


[0]ホーム

URL:


CFEngine documentation homepage

Custom SSL certificate

Suggest changes
Table of contents

When first installed a self-signed ssl certificate is automatically generatedand used to secure Mission Portal and API communications. You can change thiscertificate out with a custom one by replacing/var/cfengine/httpd/ssl/certs/<hostname>.cert and/var/cfengine/httpd/ssl/private/<hostname>.key where hostname is the fullyqualified domain name of the host.

After installing the certificate please make sure that the certificateat/var/cfengine/httpd/ssl/certs/<hostname>.cert isworld-readable on the hub.This is needed because the Mission Portal web application needs to access it directly.You can test by verifying you can access the certificate with a unprivileged user account on the hub.

You can get the fully qualified hostname on your hub by running the followingcommands.

command
cf-promises --show-vars=default:sys\.fqhost
output
default:sys.fqhost                       hub                                                          inventory,source=agent,attribute_name=Host name
command
hostname -f
output
hub

Still need help?

Chat Ask a question on Github Mailing list
Version 
master3.24 (LTS)3.21 (LTS)view all versions

[8]ページ先頭

©2009-2025 Movatter.jp