Re: mod_ssl: creating self signed certificate on apache for multiple domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-06-12 at 18:37 +0530, Agnello George wrote:
> 
>         
>         Try re-creating your keys, but this time without entering a
>         passkey.
>         Otherwise you'll have to enter it each time you start Apache.
>  
> how is that done i use the following command to create the
> certificate 
> cd /usr/local/apache2/conf/
>  
> openssl req -new -x509 -days 30 -keyout server.key  -out server.crt
> -subj '/CN=nokia.sys.qualiproj.com'
> Enter PEM pass phrase:
>  
> How do i modify this command so that i should not be prompted for
> password !! 

The openssl command will always prompt you for a password. The trick is
to *remove* the password afterward by passing the cert through openssl
again. I believe the command is like this:

openssl rsa -in server.crt -out server-nopasswd.crt

I'm working from memory here, so check this page (or Google for a
similar page) for details:

http://www.madboa.com/geek/openssl/#key-removepass

Kind regards,

Scott

-- 
Scott Courtney <scourtney@xxxxxxxxxxxxxx>
Sine Nomine Associates


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux