[Mono-list] Pb : Mono Apache SSL

Sébastien Pouliot spouliot@videotron.ca
Wed, 25 Aug 2004 09:47:38 -0400


Your browser URL is bad (and wouldn't work without Mono).
Using http tells your browser not to attempt SSL/TLS even if you specify the


as 443 is the default port for https

Sebastien Pouliot
home: spouliot@videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of mono mono
Sent: 25 août 2004 09:16
To: mono-list@lists.ximian.com
Subject: [Mono-list] Pb : Mono Apache SSL


I tryed to use Mono, Apache and mod_ssl on RedHat9.
ssl works fine without Mono but I have some difficulties to run my ASP.NET

My ASP.NET pages are in /usr/share/doc/xsp/test
My ssl.conf file :

-------------- ssl.conf --------------

<VirtualHost localhost:443>

  DocumentRoot "/usr/share/doc/xsp/test"
  ServerName localhost:443

  Alias /samples "/usr/share/doc/xsp/test"
  MonoApplications "/samples:/usr/share/doc/xsp/test"
  MonoPath "/usr/lib"
  MonoExecutablePath "/usr/bin/mono"
  MonoServerPath "/usr/bin/mod-mono-server.exe"
  <Directory /usr/share/doc/xsp/test>
       SetHandler mono

  SSLEngine on
  SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
  SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
  <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
  <Directory "/var/www/cgi-bin">
      SSLOptions +StdEnvVars
  SetEnvIf User-Agent ".*MSIE.*" \
           nokeepalive ssl-unclean-shutdown \
           downgrade-1.0 force-response-1.0



I have tryed to run my index.aspx page with :

* http://localhost:443/samples/index.aspx

=> Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
    Hint: https://localhost/
Apache/2.0.50 (Fedora) Server at localhost Port 443

* https://localhost/
* https://localhost/samples/index.aspx

=> Not Found
The requested URL was not found on this server.
Apache/2.0.50 (Fedora) Server at localhost Port 443

Sometimes I access the index page but the connection is not encrypted.

Any idea?


eric (monolist@graffiti.net)

Check out our value-added Premium features, such as a 1 GB mailbox for just
US$9.95 per year!

Powered by Outblaze
Mono-list maillist  -  Mono-list@lists.ximian.com