Skip to content

GTKC Knowledgebase

A little bit of wisdom

  • Home
  • Knowledge base home.
  • Apache

Category: Apache

Apache Linux

How do I generate self signed certificates for Apache?

by admin : September 19, 2014July 11, 2017 Apache, Linux

*UPDATED Now replaced with a simple one line command: openssl req -newkey rsa:1024 -keyout my.servername.key -nodes -x509 -days 999 -out my.servername.crt The above command will generate a self signed certificate and key (used for signing the certificate) OLD Method: Generating SSL keys for use with Apache. Two files are required to generate your own secure […]

Apache Linux

How to use .htaccess files with Apache?

by admin : September 19, 2014September 1, 2017 Apache, Linux

Using .htaccess files with Apache Outside of your web directory (best in /home/httpd/ ) you need to create the file(s) (you can have more than one) that contain the user names and passwords. Step 1: This can be done thus: htpasswd /home/httpd/.sysinfo admin Note the dot (.) in front of .sysinfo !!!! (that’s a hidden […]

Copyright © 2023 GTKC Knowledgebase | Powered by Knowx WordPress Theme