Thread Abfangen der PW - Eingabe bei Start des SSL - Servers (6 answers)
Opened by YAPD at 2016-04-12 19:39

Linuxer
 2016-04-12 23:06
#184436 #184436
User since
2006-01-27
3870 Artikel
HausmeisterIn

user image
Laut perldoc des CPAN:IO::Socket::SSL akzeptiert dessen new() Methode einen Eintrag SSL_passwd_cb, über den Du eine eigene Routine angeben kannst, die das Passwort zurückliefert. Also wäre das auch mit Tk machbar.

perldoc IO::Socket::SSL
new(...)

Creates a new IO::Socket::SSL object. You may use all the friendly options that came bundled with the super class (e.g. IO::Socket::IP, IO::Socket::INET, ...) plus (optionally) the ones described below. If you don't specify any SSL related options it will do its best in using secure defaults, e.g. choosing good ciphers, enabling proper verification, etc.

...

SSL_passwd_cb

If your private key is encrypted, you might not want the default password prompt from Net::SSLeay. This option takes a reference to a subroutine that should return the password required to decrypt your private key.

...
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread Abfangen der PW - Eingabe bei Start des SSL - Servers