-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renamed mqtts ca file for device connectivity #9401
Conversation
@@ -50,7 +50,7 @@ | |||
import static org.thingsboard.server.controller.ControllerConstants.PROTOCOL; | |||
import static org.thingsboard.server.controller.ControllerConstants.PROTOCOL_PARAM_DESCRIPTION; | |||
import static org.thingsboard.server.controller.ControllerConstants.TENANT_OR_CUSTOMER_AUTHORITY_PARAGRAPH; | |||
import static org.thingsboard.server.dao.util.DeviceConnectivityUtil.PEM_CERT_FILE_NAME; | |||
import static org.thingsboard.server.dao.util.DeviceConnectivityUtil.CA_FILE_PEM; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CA_ROOT_CERT_PEM
# Path to the server certificate file | ||
pem_cert_file: "${DEVICE_CONNECTIVITY_MQTT_SSL_PEM_CERT:mqttserver.pem}" | ||
# Path to the mqtt certificate authority file | ||
pem_cert_file: "${DEVICE_CONNECTIVITY_MQTT_SSL_PEM_CERT:cafile.pem}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DEVICE_CONNECTIVITY_MQTTS_CA_ROOT_CERT
@@ -1179,8 +1179,8 @@ device: | |||
host: "${DEVICE_CONNECTIVITY_MQTTS_HOST:}" | |||
# Port of mqtt transport service. If empty default port for mqtts will be used. | |||
port: "${DEVICE_CONNECTIVITY_MQTTS_PORT:8883}" | |||
# Path to the server certificate file | |||
pem_cert_file: "${DEVICE_CONNECTIVITY_MQTT_SSL_PEM_CERT:mqttserver.pem}" | |||
# Path to the mqtt certificate authority file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Path to the MQTT CA root certificate file
@@ -31,7 +31,7 @@ public class DeviceConnectivityUtil { | |||
public static final String MQTTS = "mqtts"; | |||
public static final String COAP = "coap"; | |||
public static final String COAPS = "coaps"; | |||
public static final String PEM_CERT_FILE_NAME = "tb-server-chain.pem"; | |||
public static final String CA_FILE_PEM = "cafile.pem"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CA_ROOT_CERT_PEM = "ca-root.pem"
Pull Request description
Renamed mqtts ca file for device connectivity
General checklist
Front-End feature checklist
Back-End feature checklist