You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David <am...@starhub.net.sg> on 2003/09/12 20:32:18 UTC

[users@httpd] Implementing SSL with HTTP server

Hi guys,

Recently, I managed to get some basic authentication to work with my
HTTP server. However we all know that the user ID and passwords pairs
are really sent across the network in clear text. Thus there is no
message/password confidentiality really.

I would like to do the password authentication via SSL. I wonder how is
this done with HTTP server.

Many thanks for your time and attention.

Warmest Regards
David



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Implementing SSL with HTTP server

Posted by Brian Dessent <br...@dessent.net>.
David wrote:

> Recently, I managed to get some basic authentication to work with my
> HTTP server. However we all know that the user ID and passwords pairs
> are really sent across the network in clear text. Thus there is no
> message/password confidentiality really.

If that is your only concern, you might want to try digest
authentication instead of http-basic.

Otherwise, authentication over HTTPS works just as it does with HTTP, as
far as I know.  If a resource has an entry in .htaccess or httpd.conf
that suggests authentication is required, then the browser will ask for
a password.  So you would have to configure the server for SSL/HTTPS:
generate a key, self-sign or buy a cert, config Apache to listen on 443,
change all your URLs to https:, lose any name based virtual hosting
ability, etc.

Brian

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org