Amazines Free Article Archive
www.amazines.com - Thursday, April 18, 2024
Read about the most recent changes and happenings at Amazines.com
Log into your account or register as a new author. Start submitting your articles right now!
Search our database for articles.
Subscribe to receive articles emailed straight to your email account. You may choose multiple categories.
View our newest articles submitted by our authors.
View our most top rated articles rated by our visitors.
* Please note that this is NOT the ARTICLE manager
Add a new EZINE, or manage your EZINE submission.
Add fresh, free web content to your site such as newest articles, web tools, and quotes with a single piece of code!
Home What's New? Submit/Manage Articles Latest Posts Top Rated Article Search
Google
Subscriptions Manage Ezines
CATEGORIES
 Article Archive
 Advertising (133573)
 Advice (161671)
 Affiliate Programs (34799)
 Art and Culture (73855)
 Automotive (145712)
 Blogs (75614)
 Boating (9851)
 Books (17223)
 Buddhism (4130)
 Business (1330636)
 Business News (426446)
 Business Opportunities (366518)
 Camping (10973)
 Career (72795)
 Christianity (15848)
 Collecting (11638)
 Communication (115089)
 Computers (241951)
 Construction (38962)
 Consumer (49953)
 Cooking (17080)
 Copywriting (6733)
 Crafts (18203)
 Cuisine (7549)
 Current Affairs (20319)
 Dating (45908)
 EBooks (19703)
 E-Commerce (48258)
 Education (185520)
 Electronics (83524)
 Email (6438)
 Entertainment (159854)
 Environment (28970)
 Ezine (3040)
 Ezine Publishing (5453)
 Ezine Sites (1551)
 Family & Parenting (111007)
 Fashion & Cosmetics (196605)
 Female Entrepreneurs (11853)
 Feng Shui (134)
 Finance & Investment (310615)
 Fitness (106469)
 Food & Beverages (63045)
 Free Web Resources (7941)
 Gambling (30227)
 Gardening (25202)
 Government (10519)
 Health (630137)
 Hinduism (2206)
 Hobbies (44083)
 Home Business (91657)
 Home Improvement (251210)
 Home Repair (46243)
 Humor (4723)
 Import - Export (5459)
 Insurance (45104)
 Interior Design (29616)
 International Property (3488)
 Internet (191029)
 Internet Marketing (146687)
 Investment (22861)
 Islam (1161)
 Judaism (1352)
 Law (80506)
 Link Popularity (4596)
 Manufacturing (20914)
 Marketing (99316)
 MLM (14140)
 Motivation (18233)
 Music (27000)
 New to the Internet (9496)
 Non-Profit Organizations (4048)
 Online Shopping (129734)
 Organizing (7813)
 Party Ideas (11855)
 Pets (38165)
 Poetry (2229)
 Press Release (12689)
 Public Speaking (5643)
 Publishing (7566)
 Quotes (2407)
 Real Estate (126700)
 Recreation & Leisure (95495)
 Relationships (87674)
 Research (16182)
 Sales (80350)
 Science & Technology (110290)
 Search Engines (23514)
 Self Improvement (153300)
 Seniors (6220)
 Sexuality (36010)
 Small Business (49311)
 Software (83033)
 Spiritual (23516)
 Sports (116155)
 Tax (7663)
 Telecommuting (34070)
 Travel & Tourism (308304)
 UK Property Investment (3123)
 Video Games (13382)
 Web Traffic (11790)
 Website Design (56919)
 Website Promotion (36663)
 World News (1000+)
 Writing (35844)
Author Spotlight
TAL BARNEA

Tal is an electrical engineer with over 25 years of expertise with hardware, software, mechanical an...more
MANMOHAN SINGH

Digital marketing professional with 8 years of experience. A good listner, Stratgist and fun loving ...more
LEMUEL ASIBAL

Lemuel Asibal is a web content writer who also ventures on writing articles and blog posts about any...more
TUSHAR BHATIA

Tushar Bhatia is the Founder President of EmpXtrack Inc with over 19 years of experience in the soft...more
BRENDA PANIN

Passionate blogger and a great animal lover. ...more


How to create a self-signed SSL Certificate for Apache by Kalpesh Patel





How to create a self-signed SSL Certificate for Apache by
Article Posted: 12/14/2010
Article Views: 381
Articles Written: 29
Word Count: 1054
Article Votes: 0
AddThis Social Bookmark Button

How to create a self-signed SSL Certificate for Apache


 
Internet

Normal Web traffic is sent over the Internet. This means that anyone with access to the right tools, you can snoop all this traffic. Of course, this can lead to problems, in particular where security and privacy, it is necessary, as for example in the data bank and credit card transactions. Secure Socket Layer is used to encrypt the data stream between a Web server and Web client.

SSL makes use of what is known as asymmetric cryptography, also known as public key cryptography (PKI). With public key cryptography are created two keys, one public, and one private. Anything encrypted with either key can be decrypted only by its key. Therefore, if the current message or data to be encrypted using the private key of the server, it can be decrypted only by using the corresponding public key, ensures that the data would only come from the server.

SSL Certificates uses public key cryptography to encrypt the data stream to travel over the Internet, why a certificate is necessary? The technical answer to this question is that the certificate is not really necessary-data is secure and cannot be easily decrypted by a third party. The certificate is used, however, a decisive role in the process of communication.

A certificate signed by a trusted certification authority (CA), provides its holder is who it claims to be you. Without a trusted certificate to the signed data can be encrypted, the party you are communicating with, however, may not be whom you believe. Without certificates, it would be much more common impersonation attacks.


Step 1: Generate a Private Key

Toolbox is used to generate a RSA private key & service customers (signing a SSL Certificates request). You can also use to generate a self-signed certificate that can be used for testing purposes or internal use.

The first step is to create your private RSA key. This key is a 1024-bit RSA key is encrypted using Triple-DES and stored in PEM format, so it's readable as ASCII.

Command:-

openssl genrsa -des3 -out server.key 1024


Output:-

Generating RSA private key, 1024 bit long modulus .........................................................++++++ ........++++++ e is 65537 (0x10001) Enter PEM pass phrase: Verifying password - Enter PEM pass phrase:
Step 2: Generate a CSR (Certificate Signing Request)

Once you generate the private key can generate a certificate signing request. CSR and then, use one of two methods. Ideally, CSR will be sent to a certification authority such as verisign) to verify the identity of the requestor, and issued a signing certificate or Thawte. The second option is to self-sign, Certificate Signing Request, in the next section.

Period of CSR generation you will be prompted to enter a few pieces of information. These are the properties of an x.509 certificate. Tip of the "common name (for example, your name)". It is important to be an SSL server's fully qualified domain name of this field is filled in. If you want to protect this Web site will https://public.akadia.com and enter public.akadia.com in this prompt. Generate CSR command, as follows:


Command:-

openssl req -new -key server.key -out server.csr


Output:

Country Name (2 letter code) [GB]:CH State or Province Name (full name) [Berkshire]:Bern Locality Name (eg, city) [Newbury]:Oberdiessbach Organization Name (eg, company) [My Company Ltd]:Akadia AG Organizational Unit Name (eg, section) []:Information Technology Common Name (eg, your name or your server's hostname) []:public.akadia.com Email Address []:martin dot zahn at akadia dot ch Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []:


Step 3: Remove Passphrase from Key

One of misery-side effect of the private key is Apache ask oiith pass phrase password every time the Web server is running. Clearly this is not necessarily as someone not always be around to type a password in a phrase, such as after the restart, or crash. Mod_ssl provides the ability to use external program instead of in the beyond-a built-in phrase, however, this is not necessarily the safest option or. It is possible to remove the Triple-DES encryption key, and thus no longer need to type a passphrase.

If the private key is encrypted, it is very important that this file must be readable only by root user! If your system is ever disclosed to a third party obtains your private key without encryption, the certificate corresponding to the need to be revoked. With this he said, use the following command to remove the pass-phrase from the key:


Command:-

cp server.key server.key.org openssl rsa -in server.key.org -out server.key

The newly created server.key file has no more passphrase in it.


Output:-

-rw-r--r-- 1 root root 745 Jun 29 12:19 server.csr -rw-r--r-- 1 root root 891 Jun 29 13:22 server.key -rw-r--r-- 1 root root 963 Jun 29 13:22 server.key.org


Step 4: Generating a Self-Signed Certificate

In this step, you create a self-signed certificate because you or you don't plan on the need your certificate signed by a certification authority, or want to test the new SSL application while the CA is the signature of the certificate. This temporary certificate will generate an error in the client browser to the effect that the CA signature is you know and trust.

To generate a temporary certificate which is good for 365 days, issue the following command:


Command:

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt


Output:

Signature ok subject=/C=CH/ST=Bern/L=Oberdiessbach/O=Akadia AG/OU=Information Technology/CN=public.akadia.com/Email=martin dot zahn at akadia dot ch Getting Private key


Step 5: Installing the Private Key and Certificate

Installed Apache with mod_ssl, it creates several libraries in the Apache config. Location of this directory will differ depending on how Apache compiled.


Config code:-

cp server.crt /usr/local/apache/conf/ssl.crt cp server.key /usr/local/apache/conf/ssl.key


Step 6: Configuring SSL Enabled Virtual Hosts


http-ssl.conf: SSLEngine on SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown CustomLog logs/ssl_request_log \

"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


Step 7: Restart Apache and Test


Author’s Bio:- TheSSLstore.com is one of the largest SSL Certificates providers globally. Join the Reseller SSL Certificate program and SSL Certificate Affiliate to join with us. Among the Internet security solutions TheSSLstore.com offers are SSL certificates from Thawte, GeoTrust, and RapidSSL. To learn more about SSL Certificates visit https://www.thesslstore.com

Related Articles - SSL Certificate, SSL Certificates, Reseller SSL Certificate Affiliate, VeriSign SSL Certificates, RapidSSL Certificate, Thawte SSL, GeoTrust SSL Certi,

Email this Article to a Friend!

Receive Articles like this one direct to your email box!
Subscribe for free today!

 Rate This Article  
Completely useless, should be removed from directory.
Minimal useful information.
Decent and informative.
Great article, very informative and helpful.
A 'Must Read'.

 

Do you Agree or Disagree? Have a Comment? POST IT!

 Reader Opinions 
Submit your comments and they will be posted here.
Make this comment or to the Author only:
Name:
Email:
*Your email will NOT be posted. This is for administrative purposes only.
Comments: *Your Comments WILL be posted to the AUTHOR ONLY if you select PRIVATE and to this PUBLIC PAGE if you select PUBLIC, so write accordingly.
 
Please enter the code in the image:



 Author Login 
LOGIN
Register for Author Account

 

Advertiser Login

 

ADVERTISE HERE NOW!
   Limited Time $60 Offer!
   90  Days-1.5 Million Views  

 

Great Paranormal Romance


LAURA JEEVES

At LeadGenerators, we specialise in content-led Online Marketing Strategies for our clients in the t...more
TIM FAY

After 60-plus years of living, I am just trying to pass down some of the information that I have lea...more
ALEX BELSEY

I am the editor of QUAY Magazine, a B2B publication based in the South West of the UK. I am also the...more
GENE MYERS

Author of four books and two screenplays; frequent magazine contributor. I have four other books "in...more
SUSAN FRIESEN

Located in the lower mainland of B.C., Susan Friesen is a visionary brand strategist, entrepreneur, ...more
STEVERT MCKENZIE

Stevert Mckenzie, Travel Enthusiast. ...more
STEPHEN BYE

Steve Bye is currently a fiction writer, who published his first novel, ‘Looking Forward Through the...more
SHALINI MITTAL

A postgraduate in Fashion Technology. Shalini is a writer at heart! Writing for her is an expression...more
ADRIAN JOELE

I have been involved in nutrition and weight management for over 12 years and I like to share my kn...more
JAMES KENNY

James is a Research Enthusiast that focuses on the understanding of how things work and can be impro...more

HomeLinksAbout UsContact UsTerms of UsePrivacy PolicyFAQResources
Copyright © 2024, All rights reserved.
Some pages may contain portions of text relating to certain topics obtained from wikipedia.org under the GNU FDL license