DelphiFAQ Home Search:
General :: Windows :: Apache
Know-how about Apache, the most popular web server. Both Linux and Windows related information,


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How to create my own self-signed web server certificate


I want to set up a test web server and use secure http (https). How can I create my own certificate without paying to Verisign?


You only need to download the tool openssl. Then you can do these 3 steps:
  1. 1) Create a Private Key
    openssl genrsa -des3 -out our_system.key 1024

    or - if you want to set a password:
    openssl genrsa -out our_system.key 1024

  2. 2) Create a Certificate Signing Request
    openssl req -new -key our_system.key -out our_system.csr -config openssl.cnf

  3. 3) Creating a Self-Signed Certificate
    openssl req -new -key our_system.key -x509 -out our_system.crt -config openssl.cnf

Note: openssl.cnf is a config file with all the default information. You probably don't have this at hand. Remove the -config openssl.cnf in that case.

Put those three files (our_system.*) in the location as specified in apache's httpd.conf configuration file.

Generated 20:01:57 on Oct 27, 2020