Jump to content
uniGUI Discussion Forums
Sign in to follow this  
jahlxx

ssl isapi apache

Recommended Posts

Hi.

 

I open this new topic, linked to http://forums.unigui.com/index.php?/topic/9306-letsencrypt-unigui/

 

I need to access to my apps via https.

 

I have isapi, under apache 2.2 on windows.

 

I´m almost sure this is an apache issue, but need your help, and could be useful for more users to have a guide about how to do this.

 

Thanks in advance

Share this post


Link to post
Share on other sites

Ok.

 

I've got it.

 

Share with you, if you need. (perhaps all of you already know, but ....)

 

Configure ISAPI Modile with Apache 2.2 under windows

 

In my installation:

 

There are 2 configuration files, c:\apache2\conf\httpd..conf and c:\apache2\conf\extra\httpd-ssl.conf

 

In file c:\apache2\conf\httpd..conf, uncomment the lines:

 

LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
 

 

In file c:\apache2\conf\extra\httpd-ssl.conf

<VirtualHost _default_:443>
    ServerAdmin mymail@gmail.com
    DocumentRoot "c:/webapps"
    ServerName localhost
    ServerAlias localhost:443
    ErrorLog "logs/anyFile-error.log"
    CustomLog "logs/anyFile-access.log" common
    SSLEngine on
    SSLCertificateFile C:/apache2/conf/server.crt
    SSLCertificateKeyFile C:/apache2/conf/server.key
</VirtualHost>                                  
 

And be carefull with listen port. Can't be the same in httpd.conf and httpd-ssl.conf.

 

In file c:\apache2\conf\httpd..conf: Listen 8077

In file c:\apache2\conf\extra\httpd-ssl.conf: Listen 443

 

And that's all.

 

This works nice for me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×