Trying to use enclave on a Linux system, and see the following error upon enrollment attempt. It appears to be a remote certificate error, but I wanted to check to see if perhaps something on my end is causing the issue?
[ls-demo 3:19 pm] ~ # enclave enrol
Enter enrolment key: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Generating new private key ... OK (256 bit)
Signing authority ... OK (cn=Enclave Networks Primary Intermediate G1)
Requesting certificate from issuer ... Failed. (endpoint=https://api.enclave.io/authority/enrol)
The remote certificate is invalid because of errors in the certificate chain: NotTimeValid
This pointed me in the right direction, thanks! I’m running a really old version of Debian (jessie), and even though I was updating CA certs, apparently it was checking an expired cert first, and not seeing the proper root cert for connection. Once I removed that expired cert it was able to enroll.