Caddy ssl configuration

Description

I have posted android mobile app errors and the rocket chat community replied saying I need to use a signed ssl certificate which is all well and good But I’m not sure how to modify caddy’s configuration file to support signed certificate I’ve been on caddy Comunity’s forum posts issues I’m having and I’ve had a couple reply’s saying I don’t have to install a signed certificate now I personally don’t believe that to be the case given the error messages I’m received trying to connect iPhone and Android mobile applications as caddy’s support forum is unable to help me I thought I would ask the Rocket.Chat support forum now I need to know how to configure caddy configuration file to let caddy use a signed certificate I’ve looked high and low on the internet and caddy documentation but have had no luck finding the information I need so I pleading with the Rocket chat support community help on this subject I’m having issues with any help support even if you just point me in the right direction would be great help as I’m all out of luck at the

Server Setup Information

  • Version of Rocket.Chat Server: 3.16.3 not 100% sure about this version but I believe it is correct
  • Operating System: Ubuntu 20.0.4 LTS
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog: h
  • NodeJS Version: ?
  • MongoDB Version: 4
  • Proxy:
  • Firewalls no

Any additional Information

<!-installation was preformed using snap–>

Hi there! Don’t worry, let’s see what the issue is :wink:

First of all, I’m kind of confused here, so please calm down and take a step back. Slowly explain to me

  • what happened
  • what did you do
  • any relevant logs

Please provide the link to the thread/message where you asked the initial question. That’d be helpful :slight_smile:

Awesome! But your RC version doesn’t seem right to me. 3.16.3 shouldn’t be released as snap yet. Please double check the version.

I’ll be waiting for your reply :highfive:

To be honest I’ve forgotten how to check version on Ubuntu
As for the the thread your asking for I not sure which one was that the thread your taking about the results were I needed to use a signed certificate from a certificate authority so I’m in the process of working that out and by the way I’m very calm

I personally think all errors I’m experiencing are related to not hassle working correctly so I’m just going focus on that for the moment on my iPhone it works great I’m running iOS 14.6

From the other issue of yours I gather that url for your rocket chat instance is - http://squeakyrocket.com:3000/. Here you are also putting the port number at which Rocket Chat is running. This is not how its supposed to work. You should only use http://squeakyrocket.com and it should work, redirecting of request to the port should be taken care by reverse proxy.

I think you haven’t configured the reverse proxy. What kind of reverse proxy are you using? Have a look here to setup reverse proxy.

If you are still facing issues with reverse proxy and need more help, reach out to me at - open workspace of Rocket Chat

Please read the question carefully before responding as you can easily confuse people.

He had clearly said that he was using caddy. Check what these things are before responding

Also note that a comment was marked as a Solution…

I know you have visual impairment issues but PLEASE try and stick to one topic. You are posting multiple threads all over the place so it gets confused very quickly.

Your issues are with certificates. You should be able to use caddy with snap installs.

This is the guide to use. I do not know how easy it is to read.

https://docs.rocket.chat/installing-and-updating/snaps/auto-ssl-with-snaps

If you have set up your SSL certificate correctly you can disable http - or redirect http queries to https.

Your mobile apps will then work.

It will be much easier if you use Letsencrypt/caddy than using self signed certificates.