Jump to content

Https Everywhere


NetworkJack

Recommended Posts

If you are like us, the only supported protocol for accessing Blesta is via https. To that end, all links sent in emails should have https based links instead of the default http

 

Here is a quick SQL call to make that happen without having to go into the interface and change each email template manually:

 

UPDATE `emails` SET `text`=REPLACE(`text`, 'http:', 'https:'), `html`=REPLACE(`html`, 'http:', 'https:')

 

Link to comment
Share on other sites

I just force https on the apache file (HSTS)

That will force it back to https but it doesn't fix the fact you should be sending people to the https directly from your links regardless.

 

 

UPDATE `emails` SET `text`=REPLACE(`text`, 'http:', 'https:'), `html`=REPLACE(`html`, 'http:', 'https:')

That is useful as doing them manually sucks as it takes a while otherwise

Link to comment
Share on other sites

thanks for the contribution, I suppose Blesta use only http as not all people using Blesta will have a SSL certificate.

You'll probably right. But unless you're developing, there is no reason to not have a SSL certificate for running Blesta. I would hope Blesta intends on changing setup so TLS is expected.

Link to comment
Share on other sites

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.   Paste as plain text instead

  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...