Wednesday, October 21, 2020

tnsames.ora for pluggable database

something that I keep forgetting


 PDBSLM =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SERVICE_NAME = pdbslm.companyname.com)

    )

  )


 select value from v$parameter where name='service_names';

select name, pdb from v$services;


where pdbslm.companyname.com is the global name of the pluggable database

Tuesday, August 15, 2017

java mail and TLS

article

check mail.smtp.ssl.socketFactory here


hMailServer
SSL certificates
public key is expected to be in PEM format
see here
private key must be with stripped out passphrase, i.e. without a passphrase
I used BIS to export PK without a passphrase


For Debug:
-Djava.security.debug=certpath

Wednesday, June 10, 2015

Friday, May 15, 2015