Can’t Download SCAP content
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
My foreman server and all associated hosts are RHEL 8.7 i’m trying to setup OpenSCAP in order to retrieve reports.
I think i did everything quite good by setting policies and puppet classes; in facts foreman can install through puppet foreman_scap_client.
If I try to run froma a host:
i get this error:
File /var/lib/openscap/content/b7772a4001f865517e30762c406dee80fdab2100ecc010f4408519a979665f6e.xml is missing. Downloading it from proxy.
Download SCAP content xml from: https://myforemanserver:9090/compliance/policies/1/content/b7772a4001f865517e30762c406dee80fdab2100ecc010f4408519a979665f6e
SCAP content is missing and download failed with error: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)
logs from myforemanserver:
2023-02-10T16:20:13 [E] OpenSSL::SSL::SSLError SSL_accept returned=1 errno=0 state=error: tlsv1 alert unknown ca
accept' /usr/share/ruby/webrick/server.rb:299:in block (2 levels) in start_thread’
timeout' /usr/share/ruby/webrick/server.rb:297:in block in start_thread’
/usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context’
Also to be fair I don’t really understand how certificates works
Any help would be really appreciate.