Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon Support > Archive > LetsEncrypt - Error Retrieving Certificate

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon Support  / Archive  /

LetsEncrypt - Error Retrieving Certificate

[Likvarn, Erik]
Erik Likvarn
Newbie
Newbie
Posts: 7

MDaemon
Outlook Connector
SecurityPlus
WebAdmin
Erik Likvarn - 06:37pm, Dec 9 2019

I received an email from the system today saying:

An error occurred during the LetsEncrypt process. The error message is: The specified module 'ACME-PS' was not loaded because no valid module file was found in any module directory.

=========================

When I looked in letsencrypt.log I see the following:

Starting Script run at 12/10/2019 08:29:14.
Get the MDaemon paths.
The MDaemon.ini Path is F:/MDaemon/App/MDaemon.ini.
The MDaemon APP Path is F:/MDaemon/App/.
The MDaemon Pem path is F:/MDaemon/Pem.
The MDaemon Log path is F:/MDaemon/Logs/.
The MDaemon RAW path is F:/MDaemon/Queues/Raw/.
The WorldClient Path is F:/MDaemon/WorldClient.
The WorldClient HTML Path is F:/MDaemon/WorldClient/HTML.
The well-known path is F:/MDaemon/WorldClient/HTML/.well-known.
The Acme-Challenge path is F:/MDaemon/WorldClient/HTML/.well-known/Acme-challenge.
The State Path is F:/MDaemon/Pem/_LEState.
The FQDN is set to mail.dtmtimber.com.au.
The email address is set to postmaster@mail.dtmtimber.com.au.
The certificate thumbrpint in the MDaemon.ini file is 9C94 E093 A68A 435A EB3D AA9B 5C45 4B67 60E3 E3F9.
Looking for the local certificate.
I found a certifcate from LetsEncrypt.
The certificate is going to expire in the next 30 days, requesting a new certificate.
Importing the ACMESharp module.
Import-Module : The specified module 'ACME-PS' was not loaded because no valid module file was found in any module
directory.
At F:/MDaemon/LetsEncrypt/LetsEncrypt.ps1:746 char:5
+ Import-Module ACME-PS -ErrorVariable LogText
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (ACME-PS:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

The script is stopping because an error occurred.

=========================

  (older msg: 1)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Pierre Piraux (apparently) - Dec 10, 2019 2:12 am (#2 Total: 5)  

via email  

Photo of Author
Pierre Piraux
Newbie
Newbie
Posts: 41
You need powershell 5.1 !


De : Erik Likvarn <lists-md-support@mdaemon.com>
Envoyé : mardi 10 décembre 2019 01:13
À : md-support@altn.com
Objet : [md-support] LetsEncrypt - Error Retrieving Certificate


From : Erik Likvarn [lists-md-support@mdaemon.com]
To : md-support@altn.com [md-support@altn.com]
Date : Tuesday, December 10 2019 01:11:41
I should also add that we are running MDaemon Server (64 bit) 19.5.1 on Windows Server 2012 R2 with latest updates applied as of 2 or 3 weeks ago.


View/reply at LetsEncrypt - Error Retrieving Certificate

--MD-SUPPORT--------------------------------------------------------------
This list is for questions and discussion about MDAEMON. To unsubscribe 
from this mailing list send an email to md-support-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!-----------------------------------------------------

--------------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/Support/RequestSupport/
--------------------------------------------------------------------------

Legal disclaimer: as part of an active strategy of litigation and claim
prevention, please note that this message reflects the opinions of its
sole sender, and that it does not imply any endorsement by MHC sa/nv
unless otherwise stated. MHC tries to preserve the planet: please only
PRINT this message IF necessary.

--MD-SUPPORT--------------------------------------------------------------
This list is for questions and discussion about MDAEMON. To unsubscribe 
from this mailing list send an email to md-support-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!-----------------------------------------------------

--------------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/Support/RequestSupport/
--------------------------------------------------------------------------

Replies to this message
  • Erik Likvarn (Dec 10, 2019 4:37 pm)


  • Arron.Caruth@mdaemon.com - Dec 10, 2019 8:06 am (#3 Total: 5)  

    Guest User  

    Photo of Author
    Posts: 1

    And Once PowerShell 5.1 is installed you will need to either re-install MDaemon or manually update the PSModulePath environment variable to include the C:\MDaemon\LetsEncrypt\Modules directory.

     

    The script has been updated for the next version to include a better error when Powershell 5.1 is enabled and it will also check the PSModulePath environment variable.

     

    --
    Arron Caruth
    Vice President of Product Development
    o: 817-601-3222    e: Arron.Caruth@mdaemon.com

    MDaemon Technologies
    Simple Secure Email
    Visit us on www.mdaemon.com | Facebook | LinkedIn | YouTube
    Sent using the MDaemon Email Server

    From: md-support@mdaemon.com [mailto:md-support@mdaemon.com] On Behalf Of Pierre PIRAUX \(mhc.be\) (ppiraux@mhc.be)
    Sent: Tuesday, December 10, 2019 1:12 AM
    To: md-support@mdaemon.com
    Subject: [md-support] LetsEncrypt - Error Retrieving Certificate

     

    You need powershell 5.1 !

     


    De : Erik Likvarn <lists-md-support@mdaemon.com>
    Envoyé : mardi 10 décembre 2019 01:13
    À : md-support@altn.com
    Objet : [md-support] LetsEncrypt - Error Retrieving Certificate

     


    From : Erik Likvarn [lists-md-support@mdaemon.com]

    To : md-support@altn.com [md-support@altn.com]

    Date : Tuesday, December 10 2019 01:11:41

    I should also add that we are running MDaemon Server (64 bit) 19.5.1 on Windows Server 2012 R2 with latest updates applied as of 2 or 3 weeks ago.


    View/reply at LetsEncrypt - Error Retrieving Certificate

     
     
    --MD-SUPPORT--------------------------------------------------------------
    This list is for questions and discussion about MDAEMON. To unsubscribe 
    from this mailing list send an email to md-support-unsubscribe@mdaemon.com .
    --POWERED BY MDAEMON!-----------------------------------------------------
     
    --------------------------------------------------------------------------
    These forums are provided by MDaemon Technologies for user-to-user 
    support and discussion.  MDaemon staff members may participate in the 
    forums periodically but please recognize that this is not the official
    method of receiving technical support. To receive personal technical 
    support please use the form here:
    http://www.mdaemon.com/Support/RequestSupport/
    --------------------------------------------------------------------------


    Legal disclaimer: as part of an active strategy of litigation and claim
    prevention, please note that this message reflects the opinions of its
    sole sender, and that it does not imply any endorsement by MHC sa/nv
    unless otherwise stated. MHC tries to preserve the planet: please only
    PRINT this message IF necessary.

     
     
    --MD-SUPPORT--------------------------------------------------------------
    This list is for questions and discussion about MDAEMON. To unsubscribe 
    from this mailing list send an email to md-support-unsubscribe@mdaemon.com .
    --POWERED BY MDAEMON!-----------------------------------------------------
     
    --------------------------------------------------------------------------
    These forums are provided by MDaemon Technologies for user-to-user 
    support and discussion.  MDaemon staff members may participate in the 
    forums periodically but please recognize that this is not the official
    method of receiving technical support. To receive personal technical 
    support please use the form here:
    http://www.mdaemon.com/Support/RequestSupport/
    --------------------------------------------------------------------------



      (newer msg:2)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



     Content:

    Read New | Search

     Guest:

    Email to Admin



    You are visiting as a Guest user.