Given that the client connects via TLS to both the SCAN listener hostname and then to the IP address of the RAC node, the certificate(s) will need to either use a single host cert for all of the RAC nodes and SCAN listener, or a Subject Alternative Name (SAN) certificate that includes the SCAN listener name and all possible RAC node names and the RAC node IP addresses or use a wildcard certificate.
$ orapki wallet display -complete -wallet $WALLET_ROOT/tls -pwd Oracle123|egrep "Certificates:|Subject:"
Requested Certificates:
User Certificates:
Subject: C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com
Trusted Certificates:
Subject: CN=Certificate Authority,O=Company,L=Austin,ST=Texas,C=US
echo | openssl s_client -connect scan.myco.com:2484 2>&1 | openssl x509 -noout -text | egrep "DNS:|IP:|Subject:"
Subject: C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com
PDB1 =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCPS)(HOST=scan.myco.com)(PORT=2484))
)
(SECURITY=
(SSL_SERVER_DN_MATCH=TRUE)
(SSL_SERVER_CERT_DN="C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com")
(WALLET_LOCATION=SYSTEM)
(TOKEN_AUTH=AZURE_INTERACTIVE)
(TENANT_ID=7f4c6e3e-a1e0-43fe-14c5-c2f051a0a3a1)
(CLIENT_ID=e5124a85-ac3e-14a4-f2ca-1ad635cf781a)
(AZURE_DB_APP_ID_URI=https://dbauthdemo.com/16736175-ca41-8f33-af0d-4616ade17621)
)
(CONNECT_DATA=
(SERVICE_NAME=pdb1)
)
)
$ orapki wallet display -complete -wallet $WALLET_ROOT/tls -pwd Oracle123|egrep "Certificates:|Subject:"
Requested Certificates:
User Certificates:
Subject: C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com
Trusted Certificates:
Subject: CN=Certificate Authority,O=Company,L=Austin,ST=Texas,C=US
echo | openssl s_client -connect scan.myco.com:2484 2>&1 | openssl x509 -noout -text | egrep "DNS:|IP:|Alternative|Subject:"
Subject: C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com
X509v3 Subject Alternative Name:
DNS:node1.myco.com, DNS:node2.myco.com, DNS: node1, DNS: node2 IP: 10.0.0.10, IP 10.0.0.20
PDB1 =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCPS)(HOST=scan.myco.com)(PORT=2484))
)
(SECURITY=
(SSL_SERVER_DN_MATCH=TRUE)
(WALLET_LOCATION=SYSTEM)
(TOKEN_AUTH=AZURE_INTERACTIVE)
(TENANT_ID=7f4c6e3e-a1e0-43fe-14c5-c2f051a0a3a1)
(CLIENT_ID=e5124a85-ac3e-14a4-f2ca-1ad635cf781a)
(AZURE_DB_APP_ID_URI=https://dbauthdemo.com/16736175-ca41-8f33-af0d-4616ade17621)
)
(CONNECT_DATA=
(SERVICE_NAME=pdb1)
)
)
echo | openssl s_client -connect node1.myco.com:2484 2>&1 | openssl x509 -noout -text | egrep "DNS:|IP:|Alternative|Subject:"
Subject: C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com
X509v3 Subject Alternative Name:
DNS:node1.myco.com, DNS: node1, IP: 10.0.0.10
echo | openssl s_client -connect node1.myco.com:2484 2>&1 | openssl x509 -noout -text | egrep "DNS:|IP:|Alternative|Subject:"
Subject: C=US,ST=Texas,L=Austin,O=MyCo,CN=scan.myco.com
X509v3 Subject Alternative Name:
DNS:node2.myco.com, DNS: node2, IP: 10.0.0.20
Brad