Hey folks,
Really quick question. If a host, say
web01.example.com is online, in
IPA et all but serving
supremecustomer.com and I would need a
(ipa-signed, which suffices) cert, would this be the right way?
Assumptions: - All commands executed on
web01.example.com
- /etc/ssl/ipa & perms are OK.
cert="supremecustomer.com"
ipa host-add ${cert} --desc="Dummy Host / ${cert}"
--location="$(hostname -f)"
ipa host-add-managedby ${cert} --hosts="$(hostname -f)"
ipa service-add HTTP/${cert}
ipa service-add-host HTTP/${cert} --hosts="$(hostname -f)"
ipa-getcert request -r -f /etc/ssl/ipa/${cert}.crt -k
/etc/ssl/ipa/${cert}.key -N CN=${cert} -D ${cert} -K HTTP/${cert}
chown root:nginx /etc/ssl/ipa/${cert}.{key,crt}
chmod 0640 /etc/ssl/ipa/${cert}.{key,crt}
Is this still the way to go? Is there a way around "One dummy host per
SNI Certificate" in any way?
Cheers,
Chris.
--
Christian Reiss - email(a)christian-reiss.de /"\ ASCII Ribbon
support(a)alpha-labs.net \ / Campaign
X against HTML
WEB
alpha-labs.net / \ in eMails
GPG Retrieval
https://gpg.christian-reiss.de
GPG ID ABCD43C5, 0x44E29126ABCD43C5
GPG fingerprint = 9549 F537 2596 86BA 733C A4ED 44E2 9126 ABCD 43C5
"It's better to reign in hell than to serve in heaven.",
John Milton, Paradise lost.