LetsEncrypt stooped working with error: Cannot validate argument on parameter 'Value'.
-
Hello All,
We have a mail server thats been running fine for about 6 months or more, however for no reason that I can dicern the ssl letsencrypt funcrion no longer works, we are licneces and fully uptodate I belive.MDaemon Server (64-bit) SMTP/POP/IMAP server: v23.0.2 Webmail HTTP server: v23.0.2 Webmail DLL: v23.0.2 MDaemon Instant Messenger client: v22.0.1 Content filter server: v23.0.2 Content filter DLL: v23.0.2 Content filter GUI: v23.0.2 Calendar API (MDCalendar.dll): v23.0.2 Mailing list API (MDList.dll): v23.0.2 Original "Flat-File" API (MDUser.dll): v23.0.2 COM/DCOM API (MDUserCOM.dll): v23.0.2 LDAP API (MDUserLDAP.dll): v23.0.2 ODBC/SQL API (MDUserODBC.dll): v23.0.2 Cluster Service (64bit) (ClstrSvc.dll): 23.0.2.2 Dynamic Screening (64bit) (DynScrn.dll): 23.0.2.6 ActiveSync Mgmt Module (64bit) (MDASMgmt.dll): 23.0.2.15 AutoDiscovery Service (64bit) (MDAutoDiscover.dll): 23.0.2.3 Message Indexing (64bit) (MdMbSrch.dll): 23.0.2.2 Management Web Service (64bit) (MDMgmtWS.dll): 23.0.2.4 MDPGP (mdpgp.dll): 23.0.2 MDOP (mdop.dll): 1.3.8 ActiveSync (MDAirSync.dll): v23.0.2.36 NT/2K/XP utility API (NTUtil.dll): v23.0.2 DKIM API (LibDKIM.dll): v1.0.21 AntiSpam server daemon (MDSpamD): v3.4.4 CalDAV/CardDAV (MDWebDAV.dll): v23.0.2 XMPP server (WCXMPPServer.exe): v23.0.2 MDaemon AntiVirus: AV overall system: v23.0.2 AV engine source: MDaemon Technologies, Ltd AV last virus update: 2023-08-04 07:46:24 Outbreak Protection (MDOP.dll): v1.3.8 MDaemon Connector: Plug-in: v7.0.7 Remote Administration Server: HTTP server: v23.0.2
When I run the scrip manually I get the following:Starting Script run at 08/04/2023 10:50:08. Checking HKLM:\SOFTWARE\Alt-N Technologies\MDaemon Checking HKLM:\SOFTWARE\Alt-N Technologies\MDaemon Checking HKLM:\SOFTWARE\Alt-N Technologies\WebAdmin Checking HKLM:\SOFTWARE\Alt-N Technologies\WebAdmin Starting Script run at 08/04/2023 10:50:08. Get the MDaemon paths. The MDaemon.ini Path is D:\MDaemon\App\MDaemon.ini. The MDaemon APP Path is D:\MDaemon\App\. The MDaemon Pem path is D:\MDaemon\PEM\. The MDaemon Log path is D:\MDaemon\Logs\. The MDaemon RAW path is D:\MDaemon\Queues\Raw\. The WorldClient Path is D:\MDaemon\WorldClient. The WorldClient HTML Path is D:\MDaemon\WorldClient\HTML. The well-known path is D:\MDaemon\WorldClient\HTML\.well-known. The Acme-Challenge path is D:\MDaemon\WorldClient\HTML\.well-known\Acme-challenge. The State Path is D:\MDaemon\PEM\_LEState. The FQDN is set to mail2.kee.go.ug. The email address is set to postmaster@mail2.kee.go.ug. Setting the system to use the LetsEncrypt Live Service. The certificate thumbrpint in the MDaemon.ini file is XXXX XXXX XXXX ECA3 46B3 3DCF 1975. Looking for the local certificate. The certificate is not from LetsEncrypt, requesting a new certificate. Importing the ACMESharp module. Getting an updated state. The account is setup and the status is valid. Getting another updated state, just in case. Getting an updated state. Getting service directory. ResourceUrl : https://acme-v02.api.letsencrypt.org/directory NewAccount : https://acme-v02.api.letsencrypt.org/acme/new-acct NewAuthz : NewNonce : https://acme-v02.api.letsencrypt.org/acme/new-nonce NewOrder : https://acme-v02.api.letsencrypt.org/acme/new-order KeyChange : https://acme-v02.api.letsencrypt.org/acme/key-change RevokeCert : https://acme-v02.api.letsencrypt.org/acme/revoke-cert Meta : AcmeDirectoryMeta Getting a new Nonce 891FsRWUqlrWfxRnWfkx96Yu9PaZ_hnd2SJdysFScIm0lIo Getting identifier for mail2.kee.go.ug. Getting identifier for mail2.kee.go.ug. Getting identifier for . Getting identifier for . Creating new certificate. The script is stopping because an error occurred. New-ACMEIdentifier : Cannot validate argument on parameter 'Value'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At D:\MDaemon\LetsEncrypt\letsencrypt.ps1:579 char:38 + $Identifier = New-ACMEIdentifier $domain -ErrorVariable LogText + ~~~~~~~ + CategoryInfo : InvalidData: (:) [New-ACMEIdentifier], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,New-ACMEIdentifier PS D:\MDaemon\LetsEncrypt>The error seems to revolve arround:
$Identifier = New-ACMEIdentifier $domain -ErrorVariable LogTextAny advise on were to look?
In the meantime have I setup selfsigned certificates, not ideal but...
I've done a tests with poshac.me (https://poshac.me/docs/v4/Tutorial/) and all seems well so i ruled out any systems/connectiviry related issues.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1 / 2
- 2