Using SSL / general commands

Hi folks,

I am totally new to this rocket chat thing.

What have I done?

Installed Ubuntu Server (22.04LTS) as virtual machine inside of a domain.

What is actually working:

I can access rocket chat over IP (http://nnn.nnn.nnn.nnn:3000).
I can access rocket chat over domain (

I have seen caddy and my thought was: Create idea!

I followed this “guide”:

But nothing works.

I am confused.

I have seen a lot of “tutorials” where was written: “The caddyfile should look like this or this”. In my case…These files where totally blank.

The one which you can access via nano caddyfile in the home directory and the one, which is in /var/snap/rocketchat-server/current.

Is this normal?

Now my questions:

Where can I configure that rocket chat works with the URL instead of

Which caddyfile of the two has to be configured?

What is the configuration?

Actually I have written there:
tls self_signed
localhost:3000 {

Where can I implement my own SSL certificate? I have a wildcard certificate for the domain.

And one more thing…

none of the commands find here down below are working on my machine. It always says “command not found”.

Maybe the caddy server itself is installed wrong? Should I install it from scratch?

Many thanks in advance!

Please fill out the help topic template, as per the forum rules.

Your Caddyfile looks like a Caddy v1 config. Caddy v2 was a complete rewrite, so any guide from before 2020 is not applicable.

I don’t know what you mean.

However, it looks like that caddy isn’t really installed. It’s only the service from rocket chat, which enables…what exactly to use caddy instead of any other webserver?

I can’t find any caddy folder whether in /bin or in /etc.

When I look with htop, I see something caddy2. More dangerous is, that it is running as root.
Not as systemd.

How can I get the version information of caddy?

What other information do you need?

Have you anything like this

but with the up to date version?

This would help me a lot I think. I didn’t used Linux so much in the past.

Thank you!

Click the New Topic button on the homepage, and choose the Help category. It prefills the text box with a template. Copy paste that into a reply in this thread and fill it out.

Hi @francislavoie ,

thanks for the reply.

I have found now the documentation for the new caddy file and will make a try with that.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.