[rt-users] RT3 under https - Ticket create button uses http and not https
David Kovar
kovar at netcerto.com
Wed Jul 4 03:09:43 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good evening,
I just installed a new version of RT 3.6.3 from source on a new CentOS 5
system. I've set everything up so it runs under https rather than http.
(conf.d/rt.conf included below). Configuration of the system and
creation of users, groups, and queues worked correctly.
I tried to create a new ticket and received the following error
"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://rt.us.com/* <https://rt.netcerto.com/>
- ------------------------------------------------------------------------
Apache/2.2.3 (CentOS) Server at rt.us.com Port 443"
The Create button on the new ticket page is only button or link that
I've used so far in setting up and using RT3 that didn't use SSL correctly.
WebBaseURL is set to:
Set($WebBaseURL , "https://rt.us.com:$WebPort");
though I tried it without the $WebPort as well.
Any pointers or suggestions would be most welcome.
- -David
/etc/httpd/conf.d/rt.conf:
<VirtualHost rt.us.com:443>
ServerName rt.us.com
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/server.crt
SSLCertificateKeyFile /etc/pki/tls/private/server.key
# Rewrite added to try and fix http -> https problem without success
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
DocumentRoot /usr/local/rt3/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1
wj8DBQFGi0fJBB3D6kCa6qsRAu5MAKC6YOBtSSb1HGDG/QTg0+qmSmIVwgCgqUJW
a9kr5UBlJYw64UcXq2qGbBY=
=i7CG
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list