ORDS SSL Error: "RequestError: unable to verify the first certificate"
(Doc ID 2971482.1)
Last updated on JANUARY 03, 2025
Applies to:
Oracle REST Data Services - Version 22.4 and laterOracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
Configured ORDS standalone with SSL / https.
1. Converted the private key from .pem to .der
For example: openssl pkcs8 -topk8 -inform PEM -outform DER -in server.key -out server.der -nocrypt
2. Modified the ORDS configuration as follows:
ords --config ${ORDS_CONFIG} config set standalone.https.cert /path/to/server.crt
ords --config ${ORDS_CONFIG} config set standalone.https.cert.key /path/to/server.der
ords --config ${ORDS_CONFIG} config set standalone.https.host <hostname>
ords --config ${ORDS_CONFIG} config set standalone.https.port 8443
Started standalone mode. Getting the following error when running ORDS URL:
Error: "RequestError: unable to verify the first certificate"
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |