Jump to content

Recommended Posts

Posted

I am in need of some guidance when it comes to enabling the SSL certs on the site. I feel like I am missing a step. Currently using Disposable Basic Pack v3.4.x on phpVMS v7 dev (latest as of 2 July 2023).

 

In phpVMS v5.x it was just a matter of changing two lines of code in the local and global config.php files from HTTP to HTTPS. Based on the instructions during the setup of v7 it stated that the env.php file has the same capabilities as the config files from v5. I don't see a related option in the file and after looking around the documentation, I could not find any relevant materials. Any guidance would be appreciated.

 

Thanks in advance! 

Posted
3 minutes ago, RedKingOne said:

I am in need of some guidance when it comes to enabling the SSL certs on the site. I feel like I am missing a step. Currently using Disposable Basic Pack v3.4.x on phpVMS v7 dev (latest as of 2 July 2023).

 

In phpVMS v5.x it was just a matter of changing two lines of code in the local and global config.php files from HTTP to HTTPS. Based on the instructions during the setup of v7 it stated that the env.php file has the same capabilities as the config files from v5. I don't see a related option in the file and after looking around the documentation, I could not find any relevant materials. Any guidance would be appreciated.

 

Thanks in advance! 

 

Just change your APP_URL in your env.php , then clear application cache from admin > maintenance, that's all.

 

APP_URL='http://crew.mygreatva.com' // without SSL
APP_URL='https://crew.mygreatva.com' // with SSL

 

If your site is live and pilots have configured their vmsAcars clients (according to old non-secure url), advise them to re-download the config file (from their profile) or just add the missing "s" to the url in vmsAcars settings (needs to be done by each pilot, as this is a client/local matter).

 

Additionally you may consider defining a permanent redirection from http to https via your hosting control panel or server settings (not related to phpVMS)

 

Good luck

Posted
5 minutes ago, DisposableHero said:

 

Just change your APP_URL in your env.php , then clear application cache from admin > maintenance, that's all.

 

APP_URL='http://crew.mygreatva.com' // without SSL
APP_URL='https://crew.mygreatva.com' // with SSL

 

If your site is live and pilots have configured their vmsAcars clients (according to old non-secure url), advise them to re-download the config file (from their profile) or just add the missing "s" to the url in vmsAcars settings (needs to be done by each pilot, as this is a client/local matter).

 

Additionally you may consider defining a permanent redirection from http to https via your hosting control panel or server settings (not related to phpVMS)

 

Good luck

 

Magic!! LoL

Thanks for the assistance, I had not cleared the cache.

  • Haha 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...