Jump to content

ssl isapi apache


jahlxx

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

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...