Using GNU TLS to sign certificates!

Solution Unverified - Updated

Environment

  • Red Hat Enterprise Linux

Issue

  • I need to sign a certificate request (self signed certificates are not ok), but don't want to use a Certificate Authority like Thawte or Varisign. How to I set up a CA for myself?
    • You will likely do this if you are testing or want to be a CA for your organizations resources (in which your CA will be signed by one of these providers).

Resolution

Signing Certificates with GNU TLS is simple and only requires you to run the following.

   certtool --generate-certificate --load-request request.pem --outfile cert.pem --load-ca-certificate ca.pem --load-ca-privkey ca-key.pem
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.