TCPS Configuration for oracle database


Server side wallet
——————–
======================================================
Server wallet location : /ndevdb/oracle/TEST/wallet
========================================================

orapki wallet create -wallet “/ndevdb/oracle/TEST/wallet” -pwd WalletPasswd123 -auto_login_local

orapki wallet add -wallet “/ndevdb/oracle/TEST/wallet” -pwd WalletPasswd123
  -dn “CN=’DEVASCP.forbesmarshall.com'” -keysize 1024 -self_signed -validity 3650
 
 
  orapki wallet display -wallet “/ndevdb/oracle/TEST/wallet” -pwd WalletPasswd123
 
 
  orapki wallet export -wallet “/ndevdb/oracle/TEST/wallet” -pwd WalletPasswd123
   -dn “CN=’DEVASCP.forbesmarshall.com'” -cert /tmp/’DEVASCP.forbesmarshall.com’-certificate.crt
 
 
   DEVASCP.forbesmarshall.com-certificate.crt
 
 
 Client Side Wallet
 ——————–
 ==========================================================
 Client Wallet location : /ndevdb/oracle/TEST/client_wallet
 ===========================================================

 orapki wallet create -wallet “/ndevdb/oracle/TEST/client_wallet” -pwd WalletPasswd123 -auto_login_local

 orapki wallet add -wallet “/ndevdb/oracle/TEST/client_wallet” -pwd WalletPasswd123 -dn “CN=DEVASCP” -keysize 1024 -self_signed -validity 3650

 orapki wallet display -wallet “/ndevdb/oracle/TEST/client_wallet” -pwd WalletPasswd123

 orapki wallet export -wallet “/ndevdb/oracle/TEST/client_wallet” -pwd WalletPasswd123 -dn “CN=DEVASCP” -cert /ndevdb/oracle/TEST/client_wallet/DEVASCP-certificate.crt

 Exchange Certificates
 ———————-

 orapki wallet add -wallet “/ndevdb/oracle/TEST/client_wallet” -pwd WalletPasswd123 -trusted_cert -cert /tmp/DEVASCP.forbesmarshall.com-certificate.crt

 Load the client certificate into the server wallet.
 —————————————————

 orapki wallet add -wallet “/ndevdb/oracle/TEST/wallet” -pwd WalletPasswd123
 -trusted_cert -cert /ndevdb/oracle/TEST/client_wallet/DEVASCP-certificate.crt

  • September 28, 2018 | 24 views
  • Comments