Hi,
I am preparing a server for encryption in transit (https) following the instructions here. When I check the status of the server through the 5821 port, I receive the error message PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
, see below.
There is one modification to those instructions linked above, when creating the certificate I use this command:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out myCert.crt -days 365 -nodes -subj "/C=YourCountry/ST=YourState/L=YourCity/O=YourOrganization/OU=YourOrganizationalUnit/CN=$hostname" -extensions SAN -config <(echo "[SAN]\nsubjectAltName=DNS:cloud.stardog.com,IP:192.168.1.1").
Here is the systemd file
And lastly, does the server access the certificate? I am pretty sure that is the case.
Any insight or direction is greatly appreciated.