Help for this page

Select Code to Download


  1. or download this
    ...
    use IO::Socket::SSL;
    ...
       SSL_verify_mode => 0,
    )->get_fingerprint,"\n";
    ...
    
  2. or download this
    ...
    my $mqtt = Net::MQTT::Simple::SSL->new("203.0.113.46:8883", {
    ...
       SSL_key_file  => "$cpath/notifications-client.key",
       SSL_fingerprint => 'sha256$a...2',});
    ...
    
  3. or download this
    openssl x509 -fingerprint -sha256 \
        -in /etc/mosquitto/certs/server.crt \
    | sed -n -e '/Fingerprint/ { s/ .*=/$/; s/://g; p; }'