Skip to content

Commit f734dbd

Browse files
committed
fix: Make ssl-key-file option working with glpi-injector
1 parent 5781883 commit f734dbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/glpi-injector

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ sub sendContent {
195195
if $options->{"ca-cert-file"};
196196
$ua->ssl_opts(SSL_cert_file => $options->{"ssl-cert-file"})
197197
if $options->{"ssl-cert-file"};
198+
$ua->ssl_opts(SSL_key_file => $options->{"ssl-key-file"})
199+
if $options->{"ssl-key-file"};
198200
$ua->ssl_opts(SSL_fingerprint => $options->{"ssl-fingerprint"})
199201
if $options->{"ssl-fingerprint"} && $IO::Socket::SSL::VERSION >= 1.967;
200202
}

0 commit comments

Comments
 (0)