Creating Your Own MyCert Certificate & Applying It to Your OCI Load Balancer
This blog will go over the steps to download and acquire your own MyCert, using the Linux “Cygwin64 Terminal” on a Windows 11 operating system. This is a self-signed certificate and uses a private key that you generate. It is used for external clients to connect to the Oracle Cloud Infrastructure load balancer using port 443
.
A. Click on the below hyperlink to install “Cygwin” on your Windows OS.
B. Once downloaded, right-click on the installation file and run it as an “Administrator”.
Click “Next”.
C. Open the “Cygwin64 Terminal” and type: openssl req -newkey rsa:2048 -nodes -keyout mycert.key -x509 -days 365 -out mycert.crt
Enter the following info at each prompt:
- Country Name: US
- State or Province (full name): FL
- Locality Name (City): Tampa
- Organization Name: Oracle
- Organization Unit Name: Oracle
- Common Name: Oracle
- Common Name: Your name or Server Host Name goes here
- Email Address: Your Email Here
D. Copy your Private Key, from the beginning of “Begin Private Key” to the end, stating “End Private Key” and either open “Notepad” or “Notepad++ “and paste your key info. Save your key somewhere safe and be sure Not to forget were you saved it.
E. Applying your Private key MyCert to your OCI Load Balancer:
Open a web browser, preferably “Microsoft Edge”.
Login to your “OCI Tenant”, followed by navigating to “Networking” > “Load Balancers” > “Load Balancer” and select your desired “Load Balancer”.
Within your “Load Balancer Details”, scroll all the way down and to the Left-Side-Panel, under “Resources”, locate and select “Certificates”.