Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved OpenVPN - TLS verify error

    OpenVPN
    2
    4
    122
    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.
    • robi
      robi last edited by

      VPN has been working 2 weeks ago.

      Today connecting fails with a verify error:
      VERIFY ERROR: depth=0, error=CRL has expired: CN=MBP
      OpenSSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed
      ...

      The device config was created on Aug 16, 2022.

      Does the CRL not update automatically?

      Is there a default expiry? I don't see one set in the config file.

      Ex:
      EASYRSA_CRL_DAYS=3650 (10 yrs)

      Looking at the keys dir in File Manager, it's dated Aug of last year. So is that a 1 year expiry and no update?

      Life of Advanced Technology

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        The current cert expiration is indeed set to 10 years: https://git.cloudron.io/cloudron/openvpn-app/-/blob/master/easyrsa-vars#L15

        Can you download the .opvn file and double check the expiration there?

        robi 2 Replies Last reply Reply Quote 0
        • robi
          robi @nebulon last edited by

          @nebulon I didn't find it in the .ovpn but in the cert.crt file:

              Validity
                  Not Before: Aug 16 10:04:48 2022 GMT
                  Not After : Aug 13 10:04:48 2032 GMT
          

          So it is configured right, and handing out proper VPN configs, yet the server doesn't like something.

          Life of Advanced Technology

          1 Reply Last reply Reply Quote 0
          • robi
            robi @nebulon last edited by

            @nebulon Update: after restarting the OpenVPN App, it connects and verifies TLS just fine.

            Shrug, restart fixed it.

            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • Topic has been marked as a question  robi robi 
            • Topic has been marked as solved  robi robi 
            • First post
              Last post
            Powered by NodeBB