This is a discussion on Linux create self signed ssl certificate for Apache httpd server within the Getting started tutorials forums, part of the Linux Getting Started category; You just need to enter following two commands: Yourdomain name: mycorp.com Directory: /etc/httpd/ssl/ #1: Enerate an SSL key without a ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
You just need to enter following two commands:
Yourdomain name: mycorp.com Directory: /etc/httpd/ssl/ #1: Enerate an SSL key without a passphrase, enter: Code:
openssl genrsa -out /etc/httpd/ssl/mycorp.com.key 1024 Code:
openssl req -new -key /etc/httpd/ssl/mycorp.com.key -x509 -out /etc/httpd/ssl/mycorpcom.crt -days 999 Code:
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) [AU]:US State or Province Name (full name) [Some-State]:CA Locality Name (eg, city) []:CA Organization Name (eg, company) [Internet Widgits Pty Ltd]:mycorp, LLC Organizational Unit Name (eg, section) []:Sales Common Name (eg, YOUR name) []: Email Address []:you@mycorp.com Code:
Code:
service httpd restart
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Create auto restore CD/DVD for linux | ppnair | Mail Servers | 0 | 02-21-2008 03:46 PM |
| Upgrade Apache Server | sweta | Ubuntu / Debian | 0 | 11-01-2007 03:53 AM |
| Postfix mail server create self-signed SSL certificates on Cent OS / Redhat linux | rockdalinux | Getting started tutorials | 0 | 06-15-2007 07:21 PM |
| Apache php web server security by hiding version information | nixcraft | Getting started tutorials | 1 | 12-20-2006 07:12 PM |
| Apache multiple IP based domains and one certificate | tom | All about FreeBSD/OpenBSD/NetBSD | 1 | 06-26-2006 08:23 PM |