Certificate Path Error During ONNX Runtime Compilation
Symptom
ONNX Runtime compilation fails with error message "SSL certificate problem."
Key Process and Cause Analysis
No valid certificate of the requested target is available when dependencies are downloaded.
Conclusion and Solution
- Export the certificate using a browser.
- Install the ca-certificates package.
yum install ca-certificates
- Enable dynamic certificate trust storage.
update-ca-trust force-enable
- Upload the certificate to the /etc/pki/ca-trust/source/anchors/ directory on the server.
- Obtain certificate files.
update-ca-trust extract
- Recompile and verify. For details, see Compiling the Source Code and Running and Verification.
Parent topic: Troubleshooting
