OpenSSL and certificates: Difference between revisions

From DiLab
Jump to navigation Jump to search
Content deleted Content added
Reinis (talk | contribs)
No edit summary
Reinis (talk | contribs)
No edit summary
Line 2: Line 2:


# Follow instructions on [http://www.cacert.org/help.php?id=4 CAcert.org] page.
# Follow instructions on [http://www.cacert.org/help.php?id=4 CAcert.org] page.
# That's enough for getting simple signed certificate which is good for [http://exim.org/ exim]. For [http://www.courier-mta.org/imap/ Courier IMAP] additionally you will require to do the following steps.
# That's enough for getting simple signed certificate which is good for [http://exim.org/ exim]. For [http://www.courier-mta.org/imap/ Courier IMAP] additionally you will require to perform the following steps.
# <code>dd if=/dev/urandom of=/tmp/cert.rand count=1</code>
# Create a random file: <code>dd if=/dev/urandom of=/tmp/cert.rand count=1</code>
# Create PEM formated certificate: <code>cat private.key server.crt > server.pem</code>
# Generate DH pair for certificate: <code>openssl gendh -rand /tmp/cert.rand 512 >>./server.pem</code>
# Clean-up: <code>rm -f /tmp/cert.rand</code>

Revision as of 22:40, 8 February 2010

Information on certificate generation for CAcert.org signing.

  1. Follow instructions on CAcert.org page.
  2. That's enough for getting simple signed certificate which is good for exim. For Courier IMAP additionally you will require to perform the following steps.
  3. Create a random file: dd if=/dev/urandom of=/tmp/cert.rand count=1
  4. Create PEM formated certificate: cat private.key server.crt > server.pem
  5. Generate DH pair for certificate: openssl gendh -rand /tmp/cert.rand 512 >>./server.pem
  6. Clean-up: rm -f /tmp/cert.rand