How to generate a X.509 certificate

In this example we will generate a X.509 certificate using the Certificate Creation tool. This tool is for testing purposes only and the certificates produced are not meant for use within a production application.

To access the tool, use the Visual Studio Command Prompt.

This creates a test certificate and saves it to file

makecert myCertificate.cer

This creates a test certificate and saves it to the certificate store

makecert -ss myCertificateStore

This create a test certificate and a key container and then saves to file and the certificate store

makecert -sk myTestKey -ss myCertificateStore myCertificate.cer


Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow




About Author

Robert

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning hands down.