Forum How do I...?

CERT_TRUST_IS_PARTIAL_CHAIN

CsKwg
Hi,

when trying to access a webpage on a server by HTTPS, the following error is displayed:

prince: https://pdf.xxx.test/test.htm:
error: schannel: CertGetCertificateChain trust error CERT_TRUST_IS_PARTIAL_CHAIN
prince: https://pdf.xxx.test/test.htm: error: could not load input file

The same file can be accessed with Internet Explorer and Edge.

I'm using username and password, but these do not seem to be the problem here.

The HTTPS connection has a binding with a self-signed certificate.
But, as far as I can say, the chain correct.

The same wildcard certificate is being used by other websites on the same server, these also are accessible by HTTPS.

Kind regards
mikeday
Which version of Prince are you using? Can you try accessing the same URL with curl for Windows:

https://curl.se/windows/
CsKwg
Prince 14.2.

Curl gives:
curl: (60) SSL certificate problem: unable to get local issuer certificate

CURL -k DOES retrieve the document.

prince --insecure ALSO retrieves the document.

So, for the time being, this is sufficient.

I would like to know how to create valid self-signed certificates.
Anyway, you don't have to worry about this. :)

Thank you very much for the good support!