https://bugs.contribs.org/show_bug.cgi?id=11438

            Bug ID: 11438
           Summary: phpki-ng setup does not detect openvpn
    Classification: Contribs
           Product: SME Contribs
           Version: 10beta
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: phpki-ng
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Hmmm - openvpn not detected so it does not create a takey.pem

Presume this is permissions of the phpki user?

if (system($command) == '/usr/sbin/openvpn') {
    $configPrivate_dir = '/opt/phpki/phpki-store';
    print '<p><strong>Creating a TLS authentication key used by OpenVPN.<br>';
    print "Saving to $store_dir/takey.pem.</strong><br>";
    $cmd = "openvpn --genkey --secret '$configPrivate_dir/takey.pem'";
    print $cmd.'<br>';
    flush();
    flush_exec($cmd);
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to