Web design seattle - 226 Part II . Running the Show 3.
226 Part II . Running the Show 3. Make the server.key file readable and writable only by root: # chmod 600 ssl.key/server.key 4. Create the self-signed certificate by typing the following: # make testcert umask 77 ; /usr/bin/openssl req -new -key /etc/httpd/conf/ssl.key/server.key -x509 -days 365 -out /etc/httpd/conf/ssl.key/server.crt … At this point, it is time to start adding some identifying information to the certificate that the third-party source will later validate. Before you can do this, you must unlock the private key you just created. Do so by typing the password you typed earlier. Then follow this sample procedure: 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. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter . , the field will be left blank. —– Country Name (2 letter code) [GB]:US State or Province Name (full name) [Berkshire]: Ohio Locality Name (e.g., city) [Newbury]: Cincinnati Organization Name (e.g., company) [My Company Ltd]:Industrial Press, Inc. Organizational Unit Name (e.g., section) []:IT Common Name (e.g., your name or your server s hostname) []:www.industrialpressinc.com Email Address []: webmaster@industrialpressinc.com This generation process places all files in the proper place. All you need to do is restart your Web server and add https instead of http in front of your URL. (The https protocol is used when you want transmissions to be encrypted.) Remember, you ll get a certificate validation message from your Web browser, which you can safely ignore. Restarting Your Web Server Your Web server requires you to enter your certificate password every time it is started. This is to prevent someone from breaking into your server, stealing your private key, and masquerading as you. Should someone manage to break in and take your key, you are safe in the knowledge that the private key is a jumbled mess. If you just cannot stand having to enter a password every time your Web server starts and are willing to accept the increased risk, you can remove the password encryption on your private key. Simply do the following:
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.