Change HTTP => HTTPS

Moderator: crythias

Locked
thangkls
Znuny newbie
Posts: 3
Joined: 01 Nov 2012, 03:36
Znuny Version: 3.1.11

Change HTTP => HTTPS

Post by thangkls »

Dear all !

Now I'm setting OTRS helpdesk system, and I would like to change http to https . I modified the configuration at "SysConfig => Framework => Core => Http type " as user guide but it's not successful. System keep connect to http as usual so I need your help to do it .

Thank you !
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Change HTTP => HTTPS

Post by jojo »

you need to configure your webserver (apache) also to https
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
thangkls
Znuny newbie
Posts: 3
Joined: 01 Nov 2012, 03:36
Znuny Version: 3.1.11

Re: Change HTTP => HTTPS

Post by thangkls »

I tried several guide ( config SSL on apache ) but it's not successful :(
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Change HTTP => HTTPS

Post by Wolfgangf »

as jojo said: it's not an OTRS issue, it's webserver config issue
if you share your setup with us, some could probably help
For example in my case: I'm running OTRS on openSuSE and theres is a lot of howtos
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Change HTTP => HTTPS

Post by ferrosti »

I have recently configured a new VM and implemented it.
Read the Apache Howtos regarding mod_rewrite and about listen.conf. This should give you a clue in addition to SSL man, etc.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
thangkls
Znuny newbie
Posts: 3
Joined: 01 Nov 2012, 03:36
Znuny Version: 3.1.11

Re: Change HTTP => HTTPS

Post by thangkls »

I change http to https successful :D by re-config apache service :)

I can access to OTRS at : https://myserver:443/ successful

but when I access at port 80 ( http://myserver/ ) , it notices this issue:
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://myserver/
Could some one help me to re-direct all http to https ?
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Change HTTP => HTTPS

Post by ferrosti »

Have a look at mod_rewrite and how to use it.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked