Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Tornedo.tetrain.com Runbook
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 0.1 Cert auto-renewal was broken (found, not caused, by this work) === Symptom: three certmonger-tracked certs (LDAP/<code><nowiki>dirsrv</nowiki></code>, <code><nowiki>httpd</nowiki></code>, KDC) all show <code><nowiki>status: MONITORING</nowiki></code> / <code><nowiki>auto-renew: yes</nowiki></code> but every renewal attempt fails with: <pre> <nowiki> Error setting up ccache for "host" service on client using default keytab: Keytab contains no suitable keys for host/ip-172-26-27-51.ap-south-1.compute.internal@. </nowiki> </pre> Root cause: this is an AWS EC2 instance; its live system hostname had drifted to the AWS internal DNS name instead of the enrolled FQDN (<code><nowiki>/etc/krb5.keytab</nowiki></code> only has keys for <code><nowiki>host/tornedo.tetrain.com</nowiki></code>) β almost certainly cloud-init resetting the hostname on a prior reboot. <pre> <nowiki> hostnamectl set-hostname tornedo.tetrain.com # prevent recurrence β stop cloud-init from resetting it again on the next reboot cat >> /etc/cloud/cloud.cfg <<'EOF' preserve_hostname: true EOF # resubmit the three near-expiry cert requests (get the request IDs from `getcert list` first) getcert resubmit -i <ldap-request-id> getcert resubmit -i <httpd-request-id> getcert resubmit -i <kdc-request-id> # confirm getcert list # all should show status: MONITORING, no ca-error, new far-future expiry </nowiki> </pre> Verified: all three cleared, new expiry <code><nowiki>2028-07-23</nowiki></code> on all three.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)