Hi, I’ve been trying to set a proxy server for scap-workbench but I have not had any success. It also does not accept the --local-files option. Scratching my head right now as to how to get it to use the remote resources.
Googling has not helped. I’ve tried exporting https_proxy=http://proxy:port and https_proxy=proxy:port but neither have worked.
The documentation does not have any reference to proxy servers.
It’s probably something simple but I’m missing it, so any help would be appreciated! Using curl from the command line with the proxy set I am able to download the bz2 file without issue.
netstat show an attempt to connect directly to a23-32-5-198.deploy.static.akamaitechnologies.com
output is as follows:
Downloading: https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL8.xml.bz2 … error
The ‘oscap’ process has written the following content to stderr: OpenSCAP Error: Download failed: Couldn’t connect to server [/builddir/build/BUILD/openscap-1.3.7/src/common/oscap_acquire.c:405]
The ‘oscap’ process has written the following content to stderr: Could not extract scap_org.open-scap_cref_ssg-rhel8-xccdf.xml with all dependencies from datastream. [/builddir/build/BUILD/openscap-1.3.7/src/DS/ds_sds_session.c:228]
There was an error during evaluation! Exit code of the ‘oscap’ process was 1.
I’m currently trying on a rhel8.7 machine.