Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PSK requires Stunnel version 5.09 or higher. For an example of setting up authentication using PSK, see ttpshttps://www.stunnel.org/auth.html. The Note that the minimum PSK key length is 20 chars. Use the following steps to enable PSK for Agents.

  1. Change PSK key file owner and

...

  1. group to ‘uptimeagent’,

...

  1. for example:

 

...

  1. Code Block
    chown uptimeagent /opt/uptime-agent/conf/psk.txt

...

  1. 
    chgrp uptimeagent /opt/uptime-agent/conf/psk.txt

...

  1. The following is an example of Stunnel configuration for the PSK support:

    Code Block
    exec = /opt/uptime-agent/bin/uptimeagent

...

  1. 
    options = NO_SSLv2

...

  1. 
    options = NO_SSLv3

...

  1. 
    options = NO_TLSv1

...

  1. 
    options = NO_TLSv1.1

...

  1. 
     
    ciphers=PSK

...

  1. 
    PSKsecrets=/opt/uptime-agent/conf/psk.txt

...

  1. 
    PSKidentity=test1

...

  1. 
     
    Content of /opt/uptime-agent/conf/psk.txt:

...

  1. 
     
    test1:qqtest11qqtest11qqtest11
  2. Enable the option test

 





Example of Stunnel configuration for the PSK support:



2. Enable option ‘Use TLS-PSK’ or corresponding options in Global Credentials Settings when adding Agents in

Monitoring Station.