SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been running apache etc on my webserver for a while now and I have decided that https is the way to go: the webmail and mailing list managment warez that I run could benefit from it. The standard slackware httpd.conf contains a call to mod_ssl.conf and that file contains a bunch of settings including a virtual server that uses port 443 etc. What I can't seem to do is get https to actually start. I have an inkling (which may be utterly wrong) that it has something to do with having to make the <ifdefine SSL>come true. I tried to do "apachectl startssl" after "apacheconfig" suggested it but this option clearly doesn't exist in my version of apache (1.3.26 or whatever current/old is). If anyone could throw any light on this topic that would be great: even a working config file would be great.
Thanks
spook
.
Thanks for taking the time to reply: I have been away and therefore have only just taken up the problem again.
I am slightly unclear as to what you mean. Should I remove the "if"'s from the <IfDefine>'s or did you mean seperate "if"'s that may be in the config file? This seems like a pretty retarded way for a config to be set up: presumably there ought to be a way to specify SSL so that the condition necessary for these <ifdefines> would come to pass.
cheers
spook
.
Thank you for your swift reply, although I have still not got everything working yet, it is clear that I am geting closer as I am getting error messages in /var/adm/apache/ssl_engine_log
[10/Jan/2003 02:36:26 32732] [info] Server: Apache/1.3.26, Interface: mod_ssl/2.8.10, Library: OpenSSL/0.9.6e
[10/Jan/2003 02:36:28 32733] [info] Init: 2nd startup round (already detached)
[10/Jan/2003 02:36:28 32733] [info] Init: Reinitializing OpenSSL library
[10/Jan/2003 02:36:28 32733] [info] Init: Seeding PRNG with 136 bytes of entropy
[10/Jan/2003 02:36:28 32733] [info] Init: Configuring temporary RSA private keys (512/1024 bits)
[10/Jan/2003 02:36:28 32733] [info] Init: Configuring temporary DH parameters (512/1024 bits)
[10/Jan/2003 02:36:28 32733] [info] Init: Initializing (virtual) servers for SSL
[10/Jan/2003 02:38:58 32733] [info] Init: 1st restart round (already detached)
[10/Jan/2003 02:38:58 32733] [info] Init: Reinitializing OpenSSL library
[10/Jan/2003 02:38:58 32733] [info] Init: Seeding PRNG with 1160 bytes of entropy
[10/Jan/2003 02:38:58 32733] [info] Init: Configuring temporary RSA private keys (512/1024 bits)
[10/Jan/2003 02:38:58 32733] [info] Init: Configuring temporary DH parameters (512/1024 bits)
[10/Jan/2003 02:38:58 32733] [info] Init: Initializing (virtual) servers for SSL
[10/Jan/2003 02:38:58 32733] [info] Init: Configuring server hysteria.spc.org:443 for SSL protocol
[10/Jan/2003 02:38:58 32733] [error] Init: (hysteria.spc.org:443) Ops, no RSA or DSA server certificate found?!
[10/Jan/2003 02:38:58 32733] [error] Init: (hysteria.spc.org:443) You have to perform a *full* server restart when you added or removed a certificate and/or key file
Have you any idea how I could fix these errors? I generated a key but I have never been asked for the passwd when starting apache etc. I think I used apacheconfig to do this but now this doesn't run (wierdness!)
I appreciate the mundane nature of these questions and am gratefull for the repsonses.
cheers
spook
.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.