Hi Leute,
ich weiß dass es zu Order is NOT ready schon einen Thread gibt. Der hat allerdings schon einen Bart und ich habe soweit ich das lese ein etwas anderes Verhalten bei meinem Problem.
Ursprünglich war nur eine Domäne bei dem Exchange Server 2016 im Einsatz.
Doch ich habe nun 2 weitere Domänen zusätzlich hinzugefügt.
Das Script läuft bei mir ohne Probleme durch solange ich $DetermineExchangeFQDNs = $true eingestellt habe.
Mit dem Setting "true" erkennt er aber nur die ursprüngliche Domäne und ignoriert die 4 zusätzlichen Domänen.
03.02.2022 06:51:40;IIS;Info;.well-known directory accepts http; 03.02.2022 06:51:40;Exchange FQDNs;Info;Getting Exchange FQDNs; 03.02.2022 06:51:40;Exchange FQDNs;Info;Getting local Exchange Server Name; 03.02.2022 06:51:44;Exchange FQDNs;Info;Local Exchange Name EXCH01; 03.02.2022 06:51:44;Exchange FQDNs;Info;Getting Autodiscover Hostname; 03.02.2022 06:51:44;Exchange FQDNs;Info;Autodiscover Hostname autodiscover.domain1.com 03.02.2022 06:51:44;Exchange FQDNs;Info;Getting Exchange Outlook Anywhere External FQDN; 03.02.2022 06:51:45;Exchange FQDNs;Info;Exchange Outlook Anywhere External FQDN mail.domain1.com; 03.02.2022 06:51:45;Exchange FQDNs;Info;Getting Exchange Outlook Anywhere Internal FQDN; 03.02.2022 06:51:46;Exchange FQDNs;Info;Exchange Outlook Anywhere Internal FQDN mail.domain1.com; 03.02.2022 06:51:46;Exchange FQDNs;Info;Getting Exchange OAB External FQDN; 03.02.2022 06:51:47;Exchange FQDNs;Info;Exchange OAB External FQDN mail.domain1.com; 03.02.2022 06:51:47;Exchange FQDNs;Info;Getting Exchange OAB Internal FQDN; 03.02.2022 06:51:48;Exchange FQDNs;Info;Exchange OAB Internal FQDN mail.domain1.com; 03.02.2022 06:51:48;Exchange FQDNs;Info;Getting Exchange EAS Internal FQDN; 03.02.2022 06:51:49;Exchange FQDNs;Info;Exchange EAS Internal FQDN mail.domain1.com; 03.02.2022 06:51:49;Exchange FQDNs;Info;Getting Exchange EAS External FQDN; 03.02.2022 06:51:49;Exchange FQDNs;Info;Exchange EAS External FQDN mail.domain1.com; 03.02.2022 06:51:49;Exchange FQDNs;Info;Getting Exchange EWS Internal FQDN; 03.02.2022 06:51:50;Exchange FQDNs;Info;Exchange EWS Internal FQDN mail.domain1.com; 03.02.2022 06:51:50;Exchange FQDNs;Info;Getting Exchange EWS External FQDN; 03.02.2022 06:51:51;Exchange FQDNs;Info;Exchange EWS External FQDN mail.domain1.com; 03.02.2022 06:51:51;Exchange FQDNs;Info;Getting Exchange ECP Internal FQDN; 03.02.2022 06:51:52;Exchange FQDNs;Info;Exchange EWS Internal FQDN mail.domain1.com; 03.02.2022 06:51:52;Exchange FQDNs;Info;Getting Exchange ECP External FQDN; 03.02.2022 06:51:53;Exchange FQDNs;Info;Exchange ECP External FQDN mail.domain1.com; 03.02.2022 06:51:53;Exchange FQDNs;Info;Getting Exchange OWA Internal FQDN; 03.02.2022 06:51:55;Exchange FQDNs;Info;Exchange OWA Internal FQDN mail.domain1.com; 03.02.2022 06:51:55;Exchange FQDNs;Info;Getting Exchange OWA External FQDN; 03.02.2022 06:51:56;Exchange FQDNs;Info;Exchange OWA ExternalFQDN mail.domain1.com; 03.02.2022 06:51:56;Exchange FQDNs;Info;Getting Exchange MAPI Internal FQDN; 03.02.2022 06:51:56;Exchange FQDNs;Info;Exchange MAPI Internal FQDN mail.domain1.com; 03.02.2022 06:51:56;Exchange FQDNs;Info;Getting Exchange MAPI External FQDN; 03.02.2022 06:51:57;Exchange FQDNs;Info;Exchange MAPI External FQDN mail.domain1.com; 03.02.2022 06:51:57;Exchange FQDNs;Info;Make them unique; 03.02.2022 06:51:57;Exchange FQDNs;Info;FQDNs are unique; 03.02.2022 06:51:57;LE System;Info;Setting LE Mode; 03.02.2022 06:51:57;LE System;Info;Setting LE Mode to PRODUCTION MODE (LIVE SYSTEM); 03.02.2022 06:51:57;LE System;Info;Checking for existing LE Account; 03.02.2022 06:51:57;LE System;Info;Found a existing LE Account; 03.02.2022 06:51:57;LE Certificate;Info;Trying to create a new order for a certificate; 03.02.2022 06:52:00;LE Certificate;Info;Successfully ordered certificate; 03.02.2022 06:52:00;LE System;Info;Creating Autorisation files for LE verification; 03.02.2022 06:52:00;LE System;Info;Asking LE to verify the order; 03.02.2022 06:52:01;LE System;Info;Successfully informed LE to verify the order; 03.02.2022 06:52:01;LE System;INFO;Let's give LE some time to validate (1 min);1 min 03.02.2022 06:53:01;LE System;INFO;Time to wake up, need coffee!; 03.02.2022 06:53:01;LE System;INFO;Let's check the authorization; 03.02.2022 06:53:02;LE System;INFO;Authorization for autodiscover.domain1.com is valid; 03.02.2022 06:53:02;LE System;INFO;Authorization for mail.domain1.com is valid; 03.02.2022 06:53:02;LE System;INFO;Let's refresh the order; 03.02.2022 06:53:02;LE System;INFO;Let's check if order is ready; 03.02.2022 06:53:02;LE System;INFO;Order is ready; 03.02.2022 06:53:02;LE System;INFO;Let's get the certificate; 03.02.2022 06:53:06;LE System;INFO;Getting certificate was successfull. Thumbprint is C1C09FAF8875E87C14F91463C825W234GI764B6; 03.02.2022 06:53:06;LE System;INFO;Let's check if the PFX is present; 03.02.2022 06:53:06;Cert Export;Info;PFX C1C09FAF8875E87C14F91463C825W234GI764B6 verified successfully; 03.02.2022 06:53:06;LE System;INFO;CleanUp Mime Type; 03.02.2022 06:53:06;LE System;INFO;CleanUp successfull; 03.02.2022 06:53:06;Exchange;Info;Lets try to enable certificate for Exchange Server; 03.02.2022 06:53:06;Exchange;Info;Exchange Server Version: Version 15.1 (Build 2308.8); 03.02.2022 06:53:08;Exchange;Info;Successfully imported and enabled Certificate; 03.02.2022 06:53:08;SendMail;Info;Try to send email with logfile; 03.02.2022 06:53:08;SendMail;Info;E-Mail send successfully initiated; 03.02.2022 06:53:08;End;Info;End of script;
Sobald ich $DetermineExchangeFQDNs = false einstelle und die zusätzlichen Domänen manuell angebe, läuft das Script nicht mehr durch und ich erhalte Order is NOT ready.
03.02.2022 06:47:10;System;Info;Geting system parameters; 03.02.2022 06:47:10;System;Info;Certificate Assistant Exchange 2016 Version; 03.02.2022 06:47:10;System;Info;PowerShell Version: 5.1.14393.4583 OSVersion: 10.0.14393.0; 03.02.2022 06:47:10;Check Posh-ACME;Info;Check if Module installed; 03.02.2022 06:47:10;Load Posh-ACME;Info;Posh-ACME is installed, try to load it; 03.02.2022 06:47:11;Load Posh-ACME;Info;Module Import was successfull, PoshACMEVersion 3.14.0; 03.02.2022 06:47:11;Load Exchange SnapIns;Info;Try to load Exchange SnapIns; 03.02.2022 06:47:12;Load Exchange SnapIns;Info;Sucessfully loaded Exchange SnapIns; 03.02.2022 06:47:12;IIS;Info;Trying to create .Well-Known Directory; 03.02.2022 06:47:12;IIS;Info;Well-Known Folder already exists, skipping; 03.02.2022 06:47:13;IIS;Info;Added Mime Type to Well-Known Folder; 03.02.2022 06:47:13;IIS;Info;Changing Let's Encrypt IIS directory to http; 03.02.2022 06:47:14;IIS;Info;Successfully changed Let's Encrypt IIS directory to http; 03.02.2022 06:47:14;IIS;Info;Checking Let's Encrypt IIS directory to accept validation by http request; 03.02.2022 06:47:15;IIS;Info;.well-known directory accepts http; 03.02.2022 06:47:15;Custom FQDNs;Info;Using Custom FQDNs is configured; 03.02.2022 06:47:15;LE System;Info;Setting LE Mode; 03.02.2022 06:47:15;LE System;Info;Setting LE Mode to PRODUCTION MODE (LIVE SYSTEM); 03.02.2022 06:47:15;LE System;Info;Checking for existing LE Account; 03.02.2022 06:47:15;LE System;Info;Found a existing LE Account; 03.02.2022 06:47:15;LE Certificate;Info;Trying to create a new order for a certificate; 03.02.2022 06:47:17;LE Certificate;Info;Successfully ordered certificate; 03.02.2022 06:47:17;LE System;Info;Creating Autorisation files for LE verification; 03.02.2022 06:47:19;LE System;Info;Asking LE to verify the order; 03.02.2022 06:47:20;LE System;Info;Successfully informed LE to verify the order; 03.02.2022 06:47:20;LE System;INFO;Let's give LE some time to validate (1 min);1 min 03.02.2022 06:48:20;LE System;INFO;Time to wake up, need coffee!; 03.02.2022 06:48:20;LE System;INFO;Let's check the authorization; 03.02.2022 06:48:22;LE System;INFO;Authorization for mail.domain1.com is valid; 03.02.2022 06:48:22;LE System;INFO;Authorization for autodiscover.domain1.com is valid; 03.02.2022 06:48:22;LE System;INFO;Authorization for autodiscover.domain2.com is valid; 03.02.2022 06:48:22;LE System;INFO;Authorization for autodiscover.domain3.com is valid; 03.02.2022 06:48:22;LE System;INFO;Let's refresh the order; 03.02.2022 06:48:22;LE System;INFO;Let's check if order is ready; 03.02.2022 06:48:22;LE System;ERROR;Order is NOT ready;
Hat hier jemand von euch eine Idee wo das Problem liegt und wie ich dieses beheben kann ?
Beste Grüße