# Struggling to get AutoSSL with a valid certificate

**URL:** <https://forums.rocket.chat/t/struggling-to-get-autossl-with-a-valid-certificate/804>\
**Category:** Community Support\
**Created:** [May 24, 2018, 10:01am UTC](https://forums.rocket.chat/t/struggling-to-get-autossl-with-a-valid-certificate/804 "2018-05-24T10:01:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![voyto](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@voyto](https://forums.rocket.chat/u/voyto)\
**Post date:** [May 24, 2018, 10:01am UTC](https://forums.rocket.chat/t/struggling-to-get-autossl-with-a-valid-certificate/804/1 "2018-05-24T10:01:26Z")

</div>

Hello All,

A little rusty understand all the SSL side of this, but I’d very much like to get it up and running.

I’m running a RC server on Ubuntu 16.04 with the snaps method in the tutorial. I’ve got SSL working in Caddy by issuing the ‘tls self\_signed’ line to my config. We all connect on [https://example.uk.to:2015](https://example.uk.to:2015) as that’s the port Caddy seems to have issued us.

To try and get rid of the unrecognised certificate error every 7 days, is there an idiot-proof guide I can follow to get a valid certificate installed and keep the port as 2015 to save re-configuring everyones client? I can’t seem to see anything (or I’m just extremely stupid)

Thank you in advance!
