LetsEncrypt SSL & URL Logger

More
2 years 4 months ago - 2 years 3 months ago #23732 by prashant
Hellos,

Testing to see if I can use https with URL Logger .

I have managed to get a certificate for a subdomain help.xxxx.com ,
currently it points to the static ip properly and sending a webhook to help.xxxx.com:4300/webhooks/quick WORKS fine

The moment I try to turn on SSL , everything stops working (URL Logger is unable to connect) 

 
 
Any ideas
 
Last edit: 2 years 3 months ago by prashant.

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago #23733 by admin
Replied by admin on topic LetsEncrypt SSL & URL Logger
You have to copy two files into  the config folder

server.key and server.cer 

Config.json file location
Windows: C:\ProgramData\ETL-Tools.com\url-logger
Linux: /etc/etl-tools.com/url-logger

Since you are using LetsEncrypt rename fullchain.pem to  server.cer, privkey.pem to server.key   

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #23787 by prashant
OK update using chatgpt

 it's not a matter of renaming the files , we need to decrypt them using openssl

Create an OpenSSL configuration file with legacy support: Create a file named
Code:
openssl.cnf
with the following content:
Code:
openssl_conf = openssl_init [openssl_init] providers = provider_sect [provider_sect] default = default_sect legacy = legacy_sect [default_sect] activate = 1 [legacy_sect] activate = 1
Code:
OPENSSL_CONF=./openssl.cnf openssl pkcs12 -in help.yourdomain.com.pfx -clcerts -nokeys -out help.luxerify.com.cer -password 'pass:@2QMnYp8F' OPENSSL_CONF=./openssl.cnf openssl pkcs12 -in help.yourdomain.com.pfx -nocerts -nodes -out help.luxerify.com.key -password 'pass:@2QMnYp8F
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #23788 by prashant
Now SSL page is opening , but still I am seeing unsecured

 
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #23790 by admin
Replied by admin on topic LetsEncrypt SSL & URL Logger
Not secure message is expected behavior (especially for localhost) 

we've found that mkcert is much easier option for local development testing 

github.com/FiloSottile/mkcert

mkcert -install

mkcert -key-file server.key -cert-file server.cer localhost 127.0.0.1 ::1

Mike
ETL Architect
Last edit: 2 years 3 months ago by admin.

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #23809 by prashant
Today I moved the URL Logger to proper production server with SSL and 443, working like a charm !

 
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save