Create Certificates for Azure Cloud
This section describes how to create a self-signed certificate. To create a certificate signed by CA, refer to the OpenSSL documentation.
To create a self-signed certificate:
Install the prerequisite software.
- Download and install Microsoft Visual C++ 2008 Redistributable Package (x86) from http://www.microsoft.com/en-us/download/details.aspx?id=29.
- Download and install the latest version of OpenSSL from http://slproweb.com/products/Win32OpenSSL.html. Use all of the default settings.
Set up the OpenSSL environment.
Run the following commands:
- set OPENSSL_CONF=C:\OpenSSL-Win32\bin\openssl.cfg
- cd C:\OpenSSL-Win32\bin
- openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout myazurekey.pem -out myazurekey.pem
Enter the required information. When prompted, press Enter to confirm each operation. A file titled myazurekey.pem is created in the C:\OpenSSL-Win32\bin folder.
Create the certificate.
Run the following command:
openssl x509 -inform PEM -in myazurekey.pem -outform DER -out myazurekey.cer.
The myazurekey.cer file is created in the C:\OpenSSL-Win32\bin folder.
Upload the certificate to the Azure machine.
Use the Azure Console > Settings > Manage Certificates view to upload the myazurekey.cer file to Azure.
Add the certificate in the Controller.
In the LoadRunner Controller, select Tools > Manage Cloud Accounts. Select Microsoft Azure as the provider, and specify the myazurekey.pem file as the certificate.
For details, see Manage Cloud Accounts Dialog Box.