fixed sas credentials in iot hub node
(cherry picked from commit 36ff1a8f9e853da7b5f1d0bf3e564b37ea0d92bc)
This commit is contained in:
parent
a4508aa193
commit
667a4459aa
@ -56,7 +56,7 @@ import java.security.spec.PKCS8EncodedKeySpec;
|
||||
public class CertPemCredentials implements ClientCredentials {
|
||||
private static final String TLS_VERSION = "TLSv1.2";
|
||||
|
||||
private String caCert;
|
||||
protected String caCert;
|
||||
private String cert;
|
||||
private String privateKey;
|
||||
private String password;
|
||||
|
||||
@ -40,8 +40,7 @@ import java.security.cert.X509Certificate;
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AzureIotHubSasCredentials extends CertPemCredentials {
|
||||
private String sasKey;
|
||||
private String caCert;
|
||||
|
||||
|
||||
@Override
|
||||
public SslContext initSslContext() {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user