Page 1 of 1

letsencrypt and livecode hosting

Posted: Tue Jun 13, 2017 10:39 am
by jon@armasoft.co.uk
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?

Re: letsencrypt and livecode hosting

Posted: Sat Jun 17, 2017 1:19 am
by matthiasr
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

Re: letsencrypt and livecode hosting

Posted: Thu Aug 05, 2021 2:40 pm
by tetsuo29
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.

Re: letsencrypt and livecode hosting

Posted: Fri Aug 20, 2021 12:31 am
by mwieder
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

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 9:20 pm
by matthiasr
@Mark

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

2.2.7
2021.07.21

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 11:05 pm
by mwieder
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.

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 11:11 pm
by matthiasr
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

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 11:14 pm
by mwieder
Well, I was / am trying to make this as generic as possible, so no - just straight libURL calls.

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 11:19 pm
by matthiasr
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.

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 11:23 pm
by mwieder
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.

Re: letsencrypt and livecode hosting

Posted: Sun Sep 05, 2021 11:28 pm
by matthiasr
I've tried this with both a plain Community release
I am sorry, that was not clear, otherwise i would not have asked again.