Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using one's own CA certs requires a tortuous workaround #48

Open
tquid opened this issue Nov 14, 2020 · 0 comments
Open

Using one's own CA certs requires a tortuous workaround #48

tquid opened this issue Nov 14, 2020 · 0 comments

Comments

@tquid
Copy link

tquid commented Nov 14, 2020

Using one's own CA certs, a pretty common practice in many larger environments, causes PKI errors (the infamous "unable to find valid certification path to requested target"). This is fixable manually, but the puppet solution is not obvious. sumo::use_package must be set true and one must make a soft link to one's own cacerts:

  file { '/opt/SumoCollector/jre/lib/security/cacerts':
    ensure  => link,
    target  => '/etc/pki/ca-trust/extracted/java/cacerts',
    require => Package['collector'],
    notify  => Service['collector']
  }

I humbly suggest creating a configuration item for a cacert file location to avoid this workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant