Certificates provide better Authentication than Passwords. Certificates has to be procured from Signing authorities & will be installed with application through Deployment Team.
Note However it is better for Developer to know all these – if anything screwed up can help back them.
Development Certificates
For development purposes we can use IIS Certificates.
Step 1: Create Certificate
Go to IIS > Server Certificates > Create Self-signed Certificate
You will get the new certificate listed as below.
Step 2: Export to .CER Format
Double-click on the certificate, Go to Details tab & Click Copy to File button.
Continue the wizard & You will get a .CER file output.
Step 3: Export to .PFX Format
Now right click on the item & click Export option.
Enter the Password & after export you will get a .PFX certificate.
Outputs
You can go the folder & see 2 files are created.
Summary
In this post we have seen how to create a certificate, export as .CER & .PFX file.
One thought on “Create Certificates (.CER & .PFX)”