File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
redisinsight/ui/src/pages/home/utils Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export const applyTlSDatabase = (database: any, tlsSettings: any) => {
55
55
database . tls = useTls
56
56
database . tlsServername = servername
57
57
database . verifyServerCert = ! ! verifyServerCert
58
+ database . clientCert = clientCert
58
59
59
60
if ( ! isUndefined ( caCert ?. new ) ) {
60
61
database . caCert = {
@@ -68,15 +69,15 @@ export const applyTlSDatabase = (database: any, tlsSettings: any) => {
68
69
}
69
70
70
71
if ( clientAuth ) {
71
- if ( ! isUndefined ( clientCert . new ) ) {
72
+ if ( ! isUndefined ( clientCert ? .new ) ) {
72
73
database . clientCert = {
73
74
name : clientCert . new . name ,
74
75
certificate : clientCert . new . certificate ,
75
76
key : clientCert . new . key ,
76
77
}
77
78
}
78
79
79
- if ( ! isUndefined ( clientCert . id ) ) {
80
+ if ( ! isUndefined ( clientCert ? .id ) ) {
80
81
database . clientCert = { id : clientCert . id }
81
82
}
82
83
}
You can’t perform that action at this time.
0 commit comments