Hi all , I set up https on CentOS 4.4. I did the below sets of commands, first removed existing files rm /etc/httpd/conf/ssl.key /server.key rm /etc/httpd/conf/ssl.crt/server.crt Next, I created key. Change to the /usr/share/ssl/certs/ directory and type in the following command: make genkey then issued below command, make testcert finaly /sbin/service httpd restart Then I got the below error? Starting httpd: Apache/2.0.52 mod_ssl/2.0.52 (Pass Phrase Dialog) Some of your private key files are encrypted for security reasons. In order to read them you have to provide the pass phrases. Server worldnet.itabspl.com:443 (RSA) Enter pass phrase:Apache:mod_ssl:Error: Private key not found. **Stopped [FAILED] pls NOTE that I folowed the CENTOS DOC to set up this. URL is given below. http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-secureserver-generatingkey.html Why is that? How to get it up and running? Pls help me. Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20061227/980c78cd/attachment.html>
Sounds like a typo or a file not in the right location.check in your apache config files. I would Double check your ssl.conf file.> Hi all , > > I set up https on CentOS 4.4. > > I did the below sets of commands, > > first removed existing files > > rm /etc/httpd/conf/ssl.key /server.key > rm /etc/httpd/conf/ssl.crt/server.crt > > Next, I created key. Change to the /usr/share/ssl/certs/ directory and > type > in the following command: > > make genkey > > then issued below command, > > make testcert > > > finaly > > /sbin/service httpd restart > > Then I got the below error? > > > > Starting httpd: Apache/2.0.52 mod_ssl/2.0.52 (Pass Phrase Dialog) > > > Some of your private key files are encrypted for security reasons. > > In order to read them you have to provide the pass phrases. > > > > Server worldnet.itabspl.com:443 > (RSA) > > Enter pass phrase:Apache:mod_ssl:Error: Private key not found. > > **Stopped > > [FAILED] > > pls NOTE that I folowed the CENTOS DOC to set up this. URL is given below. > http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-secureserver-generatingkey.html > > Why is that? > > How to get it up and running? > > Pls help me. > > > > > Thank you > Indunil Jayasooriya > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Indunil Jayasooriya schreef:> > Hi all , > > I set up https on CentOS 4.4. > > I did the below sets of commands, > > first removed existing files > > rm /etc/httpd/conf/ssl.key /server.key > rm /etc/httpd/conf/ssl.crt/server.crt > > Next, I created key. Change to the /usr/share/ssl/certs/ directory and > type in the following command: > > make genkey > > then issued below command, > make testcert > > > > finaly > > /sbin/service httpd restart > > Then I got the below error? > > > > Starting httpd: Apache/2.0.52 mod_ssl/2.0.52 (Pass Phrase Dialog) > > > > Some of your private key files are encrypted for security reasons. > > In order to read them you have to provide the pass phrases. > > > > Server > worldnet.itabspl.com:443 > <http://worldnet.itabspl.com:443> (RSA) > > Enter pass phrase:Apache:mod_ssl:Error: Private key not found. > > **Stopped >dont put a pass phrase on your keys> [FAILED] > pls NOTE that I folowed the CENTOS DOC to set up this. URL is given > below. > http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-secureserver-generatingkey.html > <http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-secureserver-generatingkey.html> > > Why is that? > > How to get it up and running? > > Pls help me. > > > > > Thank you > Indunil Jayasooriya > > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Video games don't affect kids, I mean if Pac Man affected us as kids, we'd all run around in a darkened room munching pills and listening to repetitive music. - Kristian Wilson, CEO at Nintendo Gaming Corporation Inc.
Sometimes it is better to go to the source on these things as there is usually extensives documentation. In this case you can follow the link below http://httpd.apache.org/docs/2.0/ssl/ that should help you Just remember google is your friend.> Hi all , > > I set up https on CentOS 4.4. > > I did the below sets of commands, > > first removed existing files > > rm /etc/httpd/conf/ssl.key /server.key > rm /etc/httpd/conf/ssl.crt/server.crt > > Next, I created key. Change to the /usr/share/ssl/certs/ directory and > type > in the following command: > > make genkey > > then issued below command, > > make testcert > > > finaly > > /sbin/service httpd restart > > Then I got the below error? > > > > Starting httpd: Apache/2.0.52 mod_ssl/2.0.52 (Pass Phrase Dialog) > > > Some of your private key files are encrypted for security reasons. > > In order to read them you have to provide the pass phrases. > > > > Server worldnet.itabspl.com:443 > (RSA) > > Enter pass phrase:Apache:mod_ssl:Error: Private key not found. > > **Stopped > > [FAILED] > > pls NOTE that I folowed the CENTOS DOC to set up this. URL is given below. > http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-secureserver-generatingkey.html > > Why is that? > > How to get it up and running? > > Pls help me. > > > > > Thank you > Indunil Jayasooriya > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >