letsencrypt and livecode hosting

This is the place to discuss the LiveCode Hosting service.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jon@armasoft.co.uk
Posts: 20
Joined: Mon Apr 18, 2016 10:31 am

letsencrypt and livecode hosting

Post by jon@armasoft.co.uk » Tue Jun 13, 2017 10:39 am

It says at https://livecode.com/hosting/pricing/ that letsencrypt is available as a free option on livecode hosting.

I've raised 2 support requests asking how I can get this set up, but have never received a reply. Has anybody using livecode hosting managed to get letsencrypt set up for them?

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 190
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: letsencrypt and livecode hosting

Post by matthiasr » Sat Jun 17, 2017 1:19 am

Yes. I have Let´s encrypt certificates installed on two of my hosting accounts.

What i noticed i when communicating with the hosting support is, that some of my request were solved, but i did not get an email about that. The automatic reply always arrived. Maybe the certificates have been already installed and the email about is was just not sent out.
Did you test if the certificates were installed?

Matthias

tetsuo29
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 103
Joined: Thu Jun 07, 2007 1:30 am

Re: letsencrypt and livecode hosting

Post by tetsuo29 » Thu Aug 05, 2021 2:40 pm

matthiasr wrote:
Sat Jun 17, 2017 1:19 am
Yes. I have Let´s encrypt certificates installed on two of my hosting accounts.

What i noticed i when communicating with the hosting support is, that some of my request were solved, but i did not get an email about that. The automatic reply always arrived. Maybe the certificates have been already installed and the email about is was just not sent out.
Did you test if the certificates were installed?

Matthias
Hello. Can you please post instructions on how to setup Let's Encrypt certificates on LiveCode Hosting? Do you have it configured for automatic updates?

Thx.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: letsencrypt and livecode hosting

Post by mwieder » Fri Aug 20, 2021 12:31 am

Probably related:

I'm getting the dreaded error 421 response: The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.

From some research it appears that this is the result of using a single certificate for multiple domains on a server.
Any chance of this getting fixed?

Here's my simple attempt to get the version string text file - it works once, then fails:

Code: Select all

put url ("https://www.ahsoftware.net/PowerTools/PowerDebugCurrentVersion.txt") into x; put x&cr&the result

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 190
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: letsencrypt and livecode hosting

Post by matthiasr » Sun Sep 05, 2021 9:20 pm

@Mark

I tried your example here and get the content always returned:

2.2.7
2021.07.21

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: letsencrypt and livecode hosting

Post by mwieder » Sun Sep 05, 2021 11:05 pm

Yeah.
It appears to be a timing thing.
I was trying this in conjunction with an http post command, and the post never closes its socket.

So posting content to https://whatever opens port 443.
If you then try to get something from a different https address
you get the 421 error because port 443 is still marked as being in use.

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 190
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: letsencrypt and livecode hosting

Post by matthiasr » Sun Sep 05, 2021 11:11 pm

Mark,

i assume you are using a version of Livecode which includes tsNET?
Could you try the following command before doing a post?

tsNetLibUrlReuseConnection false

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: letsencrypt and livecode hosting

Post by mwieder » Sun Sep 05, 2021 11:14 pm

Well, I was / am trying to make this as generic as possible, so no - just straight libURL calls.

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 190
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: letsencrypt and livecode hosting

Post by matthiasr » Sun Sep 05, 2021 11:19 pm

So you are using an LC edition which does not include tsNET or do you unload tsNET before doing posts?

If you are using an LC version which includes tsNET and you do not unload tsNET then even "normal" liburl calls make use of tsNET.

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: letsencrypt and livecode hosting

Post by mwieder » Sun Sep 05, 2021 11:23 pm

Right.
I've tried this with both a plain Community release and various others.
To be clear, I'm trying for now to stay clear of tsNet for maximum spread, but I may have to forgo that.

matthiasr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 190
Joined: Sat Apr 08, 2006 7:55 am
Location: Lübbecke, Germany
Contact:

Re: letsencrypt and livecode hosting

Post by matthiasr » Sun Sep 05, 2021 11:28 pm

I've tried this with both a plain Community release
I am sorry, that was not clear, otherwise i would not have asked again.

Post Reply

Return to “LiveCode Hosting”