This may be a bug in OpenVPN 2.1_rc4. On a SIGUSR1 signal (usually by a
ping-restart), OpenVPN writes this to the log:
Mon Oct 15 15:39:55 2007 SIGUSR1[hard,] received, process restarting
Mon Oct 15 15:39:55 2007 Restart pause, 2 second(s)
Mon Oct 15 15:39:57 2007 Cannot load private key file [[INLINE]]:
error:02001002:system library:fopen:No such file or directory:
error:20074002:BIO routines:FILE_CTRL:system lib: error:140B0002:SSL
routines:SSL_CTX_use_PrivateKey_file:system lib
Mon Oct 15 15:39:57 2007 Error: private key password verification failed
Mon Oct 15 15:39:57 2007 Exiting
I get this even when running OpenVPN as root. The man page suggests
using --persist-key when this happens. When the option is present,
everything is OK, but I don't think that OpenVPN should have trouble
re-reading the file if the process is running as root, no?
Matt.