cannot enable tls with auto-generated certificate
The error is (from log):
1406209668: mosquitto version 1.2.1 (build date 2013-09-23 19:28:56+0000) starting
1406209668: Config loaded from mosquitto.conf.
1406209668: Opening ipv4 listen socket on port 8883.
1406209668: Opening ipv6 listen socket on port 8883.
1406209668: Error: Unable to load server certificate "/etc/mosquitto
I checked that:
1. /etc/mosquitto/
2. it has 600 permission from user mosquitto, group users (but also with 777 is the same)
3. it is a pem-encoded file (with ---BEGIN CERTIFICATE-- .......
what's the issue? this is my mosquitto.conf:
# egrep -v '^(#|$)' mosquitto.conf
pid_file /var/run/
user mosquitto
port 8883
max_connections 1024
capath /etc/mosquitto/
certfile /etc/mosquitto/
keyfile /etc/mosquitto/
tls_version tlsv1
require_certificate false
autosave_interval 1800
persistence true
persistence_file mosquitto.db
persistence_
log_dest file /var/log/
log_type all
log_timestamp true
allow_anonymous false
password_file /etc/mosquitto/
my operating system is debian 7.0, and I installed mosquitto from the repositories.
Thank you for the answer!
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: