Configure SSL Certificate in IAAS Server
As I am doing the set up for development environment, So I am going to use self signed Cert.
Step 1:- Open PowerShell Window as admin run below command:
Syntax:
Example
$cert = New-SelfSignedCertificate -DnsName devsp01.cloudapp.azure.com -CertStoreLocation "cert:\LocalMachine\My
Step 2:- Run below command to export the certificate:
Syntax:
As I am doing the set up for development environment, So I am going to use self signed Cert.
Step 1:- Open PowerShell Window as admin run below command:
Syntax:
$cert
= New-SelfSignedCertificate -DnsName <<yourdomain.com>>
-CertStoreLocation "cert:\LocalMachine\My"
$cert = New-SelfSignedCertificate -DnsName devsp01.cloudapp.azure.com -CertStoreLocation "cert:\LocalMachine\My
Step 2:- Run below command to export the certificate:
Syntax:
Export-Certificate -Type CERT -Cert $cert -FilePath
<<filePath>>.cer
Example
Export-Certificate -Type CERT -Cert $cert -FilePath .\ devsp01.cloudapp.azure.com.cer
here certificate created at above mentioned file path location.
Step 3: Add certificate to Trusted Root Certification Authorities
Browse the Run window and type MMC
Step 4: . Add/Remove snap in:
Step 5: -Select Certificated à Add à Computer account à Local Computer
Step 6:- Select Local Computer
Step 6:- Expand Certificates a Trusted Root Certificate Authorities a Certificates a All Tasks a Import
Step 7:- Browse the created certificate
You are done here.
Happy Codding
Export-Certificate -Type CERT -Cert $cert -FilePath .\ devsp01.cloudapp.azure.com.cer
here certificate created at above mentioned file path location.
Step 3: Add certificate to Trusted Root Certification Authorities
Browse the Run window and type MMC
Step 4: . Add/Remove snap in:
Step 5: -Select Certificated à Add à Computer account à Local Computer
Step 6:- Select Local Computer
Step 6:- Expand Certificates a Trusted Root Certificate Authorities a Certificates a All Tasks a Import
Step 7:- Browse the created certificate
You are done here.
Happy Codding
No comments:
Post a Comment