Skip to content

Commit 964db7b

Browse files
miharpclaude
andcommitted
openvox 8x: add symlink alternative for certs/ approach
Add ln -s as an integration pattern in the Puppet section for nodes where the CA is already deployed by puppet/trusted_ca into the OS trust store. Remove symlink from the manual quick fix section — cp is simpler when deploying the cert fresh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Michael Harp <mike@mikeharp.com>
1 parent 2b789aa commit 964db7b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/_openvox_8x/ssl_custom_ca_proxy.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,23 @@ profile::proxy_ca_cert: |
118118
-----END CERTIFICATE-----
119119
```
120120

121+
If the certificate is already deployed on the node at a known path (for example, by the
122+
[puppet/trusted_ca](https://forge.puppet.com/modules/puppet/trusted_ca) module into the OS
123+
trust store), use a symlink instead to avoid keeping a second copy:
124+
125+
```puppet
126+
file { '/opt/puppetlabs/puppet/ssl/certs/proxy-ca.pem':
127+
ensure => link,
128+
target => '/etc/pki/ca-trust/source/anchors/proxy-ca.pem',
129+
notify => Exec['rehash-puppet-ssl-certs'],
130+
}
131+
132+
exec { 'rehash-puppet-ssl-certs':
133+
command => '/opt/puppetlabs/puppet/bin/openssl rehash /opt/puppetlabs/puppet/ssl/certs/',
134+
refreshonly => true,
135+
}
136+
```
137+
121138

122139
## Verifying the configuration
123140

0 commit comments

Comments
 (0)