Thursday, January 03, 2019

How To Add Self-Signed Certificate in Oracle OCI Loadbalancer

Requirement:

  Sometimes when we create a test environment,  we need to set SSL/TLS while we don't wanna go through the process to get official SSL/TLS CA which takes much time.
  So we can genearete self-signed Certificate and import it into OCI load balancer

Solution:

  Refer Oracle OCI  official doc
   Use openssl to generate Certificate and Private key ( we don't need CA Authority for test)

openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout test.key -out test.crt -subj '/CN=test.com' 

test.key  :  Private Key file
test.crt : Certificate file

In OCI load balancer , click "add certificate" button, examples like


PASSPHASE: can be empty

Once it is added, we can apply it on OCI load balancer



No comments: