# Command Line Interface (CLI) throwing certificate error

**URL:** <https://forum.mattermost.com/t/command-line-interface-cli-throwing-certificate-error/8404>\
**Category:** Command Line Interface\
**Created:** [November 5, 2019, 5:25pm UTC](https://forum.mattermost.com/t/command-line-interface-cli-throwing-certificate-error/8404 "2019-11-05T17:25:58Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![elkapitan](https://avatars.discourse-cdn.com/v4/letter/e/d78d45/32.png) [@elkapitan](https://forum.mattermost.com/u/elkapitan)\
**Post date:** [November 11, 2019, 3:42pm UTC](https://forum.mattermost.com/t/command-line-interface-cli-throwing-certificate-error/8404/5 "2019-11-11T15:42:49Z")

</div>

Hi @ahmaddanial,

Here is the ServiceSettings section of my config.json:

“ServiceSettings”: {  
“SiteURL”: “[https://myserver.fakesite.com](https://myserver.fakesite.com)”,  
“WebsocketURL”: “”,  
“LicenseFileLocation”: “”,  
“ListenAddress”: “:443”,  
“ConnectionSecurity”: “TLS”,  
“TLSCertFile”: “./tls/myserver.fakesite.com.cer”,  
“TLSKeyFile”: “./tls/myserver.fakesite.com.key”,  
“TLSMinVer”: “1.2”,  
“TLSStrictTransport”: true,  
“TLSStrictTransportMaxAge”: 63072000,  
“TLSOverwriteCiphers”: [],  
“UseLetsEncrypt”: false,  
“LetsEncryptCertificateCacheFile”: “./config/letsencrypt.cache”,  
“Forward80To443”: true,  
“TrustedProxyIPHeader”: [  
“X-Forwarded-For”,  
“X-Real-IP”  
],

---

_[View the full topic](https://forum.mattermost.com/t/command-line-interface-cli-throwing-certificate-error/8404)._
