Menu

#5519 Let's Encrypt permission issues

1.981
open
nobody
None
5
2021-11-23
2021-11-22
No

Hi,
On two servers (one in Debian 9, one in Debian 10, both with Webmin 1.981), I would like to use for some small domain free ssl certificate (I already use paid ssl certificate for some other one).
But I can't use Let's Encrypt.

Always I try to request a domain, I have this result :
Requesting a certificate for *.com, www.***.com from Let's Encrypt ..
.. request was successful!

Configuring webserver to use new certificate and key ..
Failed to request certificate : Failed to open /etc/ssl/certs/server.crt.webmintmp.7937 : Permission denied

I don't find any solution about this.
Do you see what could be the problem ?

Best regards,

Related

Bugs: #5519

Discussion

  • Jamie Cameron

    Jamie Cameron - 2021-11-23

    /etc/ssl/certs/ is an odd path for the certificate file location compared to the Virtualmin default.

    If you run virtualmin list-domains --domain whatever.com --multiline does it show that the SSL cert is under that directory?

     
    • Thierry Masson

      Thierry Masson - 2021-11-23
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi,
      Yes, it show this path
      (but is probably due to my server installation script who's specify ther cert_tmpl=, key_tmpl= and ca_tmpl= value in : /etc/webmin/virtual-server/config

      Is this due to a permission (or owner) of this "forced path" ? Or Can I reset to the defaut path ? (where is locate by the default?)

      Best regards,
      Le 23/11/21 à 06:10, Jamie Cameron a écrit :
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">

      /etc/ssl/certs/ is an odd path for the certificate file location compared to the Virtualmin default.

      If you run virtualmin list-domains --domain whatever.com --multiline does it show that the SSL cert is under that directory?


      [bugs:#5519] Let's Encrypt permission issues

      Status: open
      Group: 1.981
      Created: Mon Nov 22, 2021 09:22 AM UTC by Thierry Masson
      Last Updated: Mon Nov 22, 2021 09:22 AM UTC
      Owner: nobody

      Hi,
      On two servers (one in Debian 9, one in Debian 10, both with Webmin 1.981), I would like to use for some small domain free ssl certificate (I already use paid ssl certificate for some other one).
      But I can't use Let's Encrypt.

      Always I try to request a domain, I have this result :
      Requesting a certificate for *.com, www.***.com from Let's Encrypt ..
      .. request was successful!

      Configuring webserver to use new certificate and key ..
      Failed to request certificate : Failed to open /etc/ssl/certs/server.crt.webmintmp.7937 : Permission denied

      I don't find any solution about this.
      Do you see what could be the problem ?

      Best regards,


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/5519/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      <link itemprop="url" href="https://sourceforge.net/p/webadmin/bugs/5519/"> <meta itemprop="name" content="View">
      <meta itemprop="description" content="View">

       

      Related

      Bugs: #5519

      • Jamie Cameron

        Jamie Cameron - 2021-11-23

        No, those template options shouldn't matter as Virtualmin will use defaults under the home directory if not set.

        How was this particular domain created?

         
        • Thierry Masson

          Thierry Masson - 2021-11-24
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi,
          Thansk for your reply, the domain was created normaly, with virtualmin.
          But, never mind, I have created a batch script with certboot command to created certificate and apply them to domain automaticly.

          Thanks for you job !
          Best regards,
          Le 24/11/21 à 00:51, Jamie Cameron a écrit :
          <meta http-equiv="content-type" content="text/html; charset=UTF-8">

          No, those template options shouldn't matter as Virtualmin will use defaults under the home directory if not set.

          How was this particular domain created?


          [bugs:#5519] Let's Encrypt permission issues

          Status: open
          Group: 1.981
          Created: Mon Nov 22, 2021 09:22 AM UTC by Thierry Masson
          Last Updated: Tue Nov 23, 2021 05:10 AM UTC
          Owner: nobody

          Hi,
          On two servers (one in Debian 9, one in Debian 10, both with Webmin 1.981), I would like to use for some small domain free ssl certificate (I already use paid ssl certificate for some other one).
          But I can't use Let's Encrypt.

          Always I try to request a domain, I have this result :
          Requesting a certificate for *.com, www.***.com from Let's Encrypt ..
          .. request was successful!

          Configuring webserver to use new certificate and key ..
          Failed to request certificate : Failed to open /etc/ssl/certs/server.crt.webmintmp.7937 : Permission denied

          I don't find any solution about this.
          Do you see what could be the problem ?

          Best regards,


          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/5519/

          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

          <link itemprop="url" href="https://sourceforge.net/p/webadmin/bugs/5519/"> <meta itemprop="name" content="View">
          <meta itemprop="description" content="View">

           

          Related

          Bugs: #5519


Log in to post a comment.

Auth0 Logo