# Importing SSL Certificate ## Securing Communication using 3rd Party Certificates Every Enterprise has the necessity to encrypt the data which traverses the internet. Using secured communication has not proved to be the most secure way to transmit corporate data, so enterprises have gone a step ahead to get specific third party certificates like SSL, PFX etc. These third party certificates ensures that the corporate data is encrypted in such a way, that only the recipient who owns the certificate can decrypt it. Remote Access Plus supports using SSL and PFX certificates. Adding these certificates to Remote Access Plus will secure the communication between the Remote Access Plus server and computers managed. **Note:** This certificate is valid for a specified term. If the certificate expires, then the communication between the Remote Access Plus agent and the server will no longer be secure. Follow the steps mentioned below to create/renew and upload 3rd Party Certificates: 1. [Create CSR and Key Files](https://www.manageengine.com/remote-desktop-management/help/#1._Create_CSR_and_Key_Files) 2. Submit the CSR to a Certificate Authority (CA) to Obtain a CA Signed Certificate 3. Upload the 3rd party Certificates to Remote Access Manager. ### 1. Create CSR and Key Files To create CSR and Key files, follow the steps mentioned below: 1. Open command prompt in administrator mode and navigate to `/bin` 2. Execute following command: ``` openssl req -new -newkey rsa:2048 -nodes -sha256 -out server.csr -keyout server.key -config ..\conf\openssl.cnf ``` 3. Once prompted, enter the information required to generate a CSR. A sample key generation section is as follows: ``` Loading 'screen' into random state - done Generating a 2048 bit RSA private key .....++++++ ......++++++ writing new private key to 'server.key' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields, but you can leave some blank. For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]: IN State or Province Name (full name) [Some-State]: tamilnadu Locality Name (eg, city) []: chennai Organization Name (eg, company) []: manageengine Organizational Unit Name (eg, section) []: remoteaccessplus Common Name (eg, YOUR name) []: symphony.yourdomain.com. This should be the same as you use to connect to the client. For example, if you use FQDN (https://symphony.yourdomain.com) to access this computer via browser, you should specify it the same way here as symphony.yourdomain.com. Email Address []: Leave as empty. Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: Leave as empty An optional company name []: Leave as empty ``` This operation creates a Key file named **server.key** and CSR file named as **server.csr** in the current working directory **Remote_Access_Plus_Home>/apache/bin** ### 2. Submit the CSR to a Certificate Authority (CA) to Obtain a CA Signed Certificate 1. Submit created **server.csr** to CAs. Check their documentation / website for details on submitting CSRs and this will involve a cost to be paid to the CA 2. This process usually takes a few days time and you will be returned your signed SSL certificate and the CA's chain/intermediate certificate as .cer files 3. Save these files and rename your signed SSL certificate file to **server.crt** ### 3. Upload the 3rd party Certificates to Remote Access Plus 1. Click **Admin** tab on Remote Access Plus console 2. Under **Security and Privacy Settings**, click **Manage SSL Certificates** and Click **Upload** 3. Browse to upload the certificate that you have received from the vendor (CA). The certificate will be **.crt** format for SSL and in **.pfx** format for PFX certificates. 1. If you upload a .crt file, then you will be prompted to upload the server.key file. After uploading the sever.key, you will be prompted to upload the intermediate certificate. If you choose **Automatic**, then the intermediate certificate will be detected automatically. However when the intermediate certificate is detected automatically, only one certificate will be detected. If you wanted to use your own intermediate certificate, or upload more than one intermediate certificate, then you need to choose **Manual**, and upload them manually. 2. If you choose to upload a .pfx file, then you will be prompted to enter the password provided by the vendor. 4. Click Save to import the certificate. You have successfully imported the third party certificates to Remote Access Plus server. These certificates will be used only when "HTTPS" mode is enabled for communication. Click **Admin** tab and choose **Server Settings**, to enable **Https** mode under **General Settings**. You can now see that the communication between the Remote Access Plus Server and the agents is secure.