Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Certification Authority certificate creation errorr

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    4
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jjstecchino
      last edited by

      Just did a fresh install with a 2.0 BSD 7.2, I was running 2.0 on 7.1
      I wanted to do a fresh install without importing my old config.
      Trying to create a new CA I got:

      Fatal error: Call to undefined function ca_create() in /usr/local/www/system_camanager.php on line 164

      Johnny

      1 Reply Last reply Reply Quote 0
      • J
        jjstecchino
        last edited by

        file /usr/local/www/system_camanager.php is not including certs.inc

        please add

        require_once("certs.inc");

        right after

        require("guiconfig.inc");

        1 Reply Last reply Reply Quote 0
        • J
          jjstecchino
          last edited by

          Also add

          require_once('certs.inc');

          to

          /etc/openvpn.inc

          Otherwise it cannot lookup certification authority.

          1 Reply Last reply Reply Quote 0
          • S
            SpaceBass
            last edited by

            @jjstecchino:

            Also add

            require_once('certs.inc');

            to

            /etc/openvpn.inc

            Otherwise it cannot lookup certification authority.

            thanks this was a helpful thread - had a crash last night and reinstalling using current snapshot was presenting a problem without certs…

            is there another file for openvpn? I dont seem to have a /etc/openvpn.inc

            edited to add:

            it appears to be broken elsewhere - I was able to add the code above and create the CA and cert... but switching to https left me without a GUI. Resetting the WebConfigurator errors out from /etc/system.inc looking for require_once("certs.inc");

            added it to the file and was able to reset, but still no gui

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.