X509 cert saved in db
This commit is contained in:
parent
f649ef57ce
commit
62f8dc198d
@ -76,10 +76,11 @@ mqtt:
|
||||
adaptor: "${MQTT_ADAPTOR_NAME:JsonMqttAdaptor}"
|
||||
timeout: "${MQTT_TIMEOUT:10000}"
|
||||
# Uncomment the following lines to enable ssl for MQTT
|
||||
ssl:
|
||||
key_store: keystore/mqttserver.jks
|
||||
key_store_password: password
|
||||
key_store_type: JKS
|
||||
# ssl:
|
||||
# key_store: keystore/mqttserver.jks
|
||||
# key_store_password: server_ks_password
|
||||
# key_password: server_key_password
|
||||
# key_store_type: JKS
|
||||
|
||||
# CoAP server parameters
|
||||
coap:
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
/**
|
||||
* Copyright © 2016-2017 The Thingsboard Authors
|
||||
*
|
||||
* <p>
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* <p>
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* <p>
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@ -51,7 +51,7 @@ public class MqttSslHandlerProvider {
|
||||
private String keyStorePassword;
|
||||
@Value("${mqtt.ssl.key_store_type}")
|
||||
private String keyStoreType;
|
||||
|
||||
|
||||
@Autowired
|
||||
private DeviceCredentialsService deviceCredentialsService;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user