Make folders accessible with SSL encryption only First, we need to inform Apache that the folders you want to encrypt should use always use encryption (and never go in the clear).
This is accomplished by putting an Redirect “http” to “https” for certain folders This next optional step is to redirect “http” requests to “https” requests for the pages we want to secure.
) Installing Archivists’ Toolkit on your own computer makes sense for a lot of budding archivists.
If we’re not using it at work, our free time may be the best way to build relevant experience.
The script will move your server private key and certificates in the appropriate directories for you.
Import the certificate into the browser for each client Since this certificate is self signed, and is not signed by a well known Certificate Authority (CA), when you browse to the protected pages you’ll get a warning.
To accomplish the redirection, we will use mod_rewrite so that we don’t have to use the server name in this part of the config file.To turn off this warning, the certificate should be imported as a trusted CA into any browsers that you will use to access your server.Importing the certificate into IE 7 Here are the steps to import the certificate into IE 7: Tools-Import Button Now you’ll see the “Certificate Import Wizard” Click Next Provide file name: c:\xampp\apache\conf\ssl.crt\Click Next Leave default to Place all Certificates in Certificate store: Trusted Root Certification Authorities, and click Next Click Finish Importing the certificate into Firefox 2: Here are the steps to import the certificate into Firefox 2: Tools-Import Button Select file: c:\xampp\apache\conf\ssl.crt\server.crt, and click “Open” Check “Trust this CA to identify web sites” Click “OK’ Click “OK” in Certificate manager Click “OK” In original Options window to get back into Firefox Edit Apache config for encryption only access to password protected folders.To execute this batch file, do the following: newcert Loading 'screen' into random state - done Generating a 1024 bit RSA private key ............................ writing new private key to 'privkey.pem' Enter PEM pass phrase:----- You are about to be asked to enter information that will be incorporated into your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.To do this, edit c:\xampp\apache\conf\and get rid of the comment (# character) in this line: Load Module rewrite_module modules/mod_to make it look like this: Load Module rewrite_module modules/mod_Now, paste the following text into the top of c:\xampp\apache\conf\extra\httpd-xampp.conf: Rewrite Engine On # Redirect /xampp folder to https Rewrite Cond % !