[Mono-list] Pb : Mono Apache SSL
Sébastien Pouliot
spouliot@videotron.ca
Wed, 25 Aug 2004 09:47:38 -0400
Hello,
Your browser URL is bad (and wouldn't work without Mono).
http://localhost:443/samples/index.aspx
Using http tells your browser not to attempt SSL/TLS even if you specify the
port.
Try
https://localhost/samples/index.aspx
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
Hi,
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
pages.
My ASP.NET pages are in /usr/share/doc/xsp/test
My ssl.conf file :
-------------- ssl.conf --------------
<VirtualHost localhost:443>
##VirtualHost
DocumentRoot "/usr/share/doc/xsp/test"
ServerName localhost:443
##Mono
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
</Directory>
##SSL
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</VirtualHost>
--------------------------------------
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?
Thanks.
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
http://lists.ximian.com/mailman/listinfo/mono-list