------------|Inf(00)| Date: 23.08.2020 05:57:17
2020/08/23 05:57:17.223|Inf|0001| Log is created
2020/08/23 05:57:17.224|Inf|0001| Log verbosity is set to Crt+Err+Dbg+Exc
2020/08/23 05:57:17.390|Dbg|0001| Parsing command line arguments: -renew-certificates
2020/08/23 05:57:17.600|Dbg|0001| Parsed command line options: {
"SourceCommandLine": "-renew-certificates",
"ApplicationArgs": [
"-renew-certificates"
],
"Help": false,
"TestMode": false,
"ParseError": null,
"AppBin": null,
"AppData": null,
"InstallationMode": null,
"Multiinstance": false,
"RenewCertificates": true,
"PbxUpdate": false,
"TestCertificates": false,
"AnswersFilePath": null,
"WebWizardRootBasePath": null,
"WebWizardPortNumber": null,
"DoNotTryToStartBrowser": false
}
2020/08/23 05:57:17.601|Dbg|0001| GetSetupSettings, codeBase = file:///C:/Program Files/3CX Phone System/Bin/PbxConfigTool.dll , options = {
"SourceCommandLine": "-renew-certificates",
"ApplicationArgs": [
"-renew-certificates"
],
"Help": false,
"TestMode": false,
"ParseError": null,
"AppBin": null,
"AppData": null,
"InstallationMode": null,
"Multiinstance": false,
"RenewCertificates": true,
"PbxUpdate": false,
"TestCertificates": false,
"AnswersFilePath": null,
"WebWizardRootBasePath": null,
"WebWizardPortNumber": null,
"DoNotTryToStartBrowser": false
}
2020/08/23 05:57:17.602|Dbg|0001| GetDefaultAppBinAndAppData, codebase = file:///C:/Program Files/3CX Phone System/Bin/PbxConfigTool.dll
2020/08/23 05:57:17.602|Dbg|0001| appPath = C:/Program Files/3CX Phone System/Bin/PbxConfigTool.dll
2020/08/23 05:57:17.605|Dbg|0001| GetDefaultAppBinAndAppData result = {
"AppBin": "C:\\Program Files\\3CX Phone System",
"AppData": "C:\\ProgramData\\3CX",
"AppPath": "C:/Program Files/3CX Phone System/Bin/PbxConfigTool.dll"
}
2020/08/23 05:57:17.688|Dbg|0001| Initial settings = {
"SetupCancelled": false,
"UseWebWizard": false,
"WebConfigTool": false,
"ApplicationStartArgs": [
"-renew-certificates"
],
"ApplicationCommandLineArguments": "-renew-certificates",
"ApplicationPath": "C:/Program Files/3CX Phone System/Bin/PbxConfigTool.dll",
"AutomaticInstallation": false,
"CloudInstallation": false,
"RenewCertificates": true,
"SetupType": 0,
"InstallationMode": "SINGLE",
"Multiinstance": false,
"AppBin": "C:\\Program Files\\3CX Phone System",
"AppData": "C:\\ProgramData\\3CX",
"ConfigurationPath": "C:\\Program Files\\3CX Phone System",
"LicenseKey": null,
"IsRestrictedLicenseKey": false,
"IsPbxEditionLicenseKey": false,
"IsEnterpriseLicenseKey": false,
"AllowCustomFqdn": true,
"ShouldRetryCallsToErp": false,
"SkipRequestLicense": false,
"SkipMangementConsoleLoginRequest": false,
Password Removed
"BackupFilePath": null,
"BackupEncrypted": false,
"BackupVersion": null,
Password Removed
"PhoneSystemConfiguration": {
"AdminConsoleUserName": null,
Password Removed
Password Removed
Password Removed
"CustomerDb": null,
"TenantId": null,
"ReportsDirectoryPath": "C:\\ProgramData\\3CX\\Instance1\\Data\\Http\\Reports",
"SkipPrompsetRequest": false
},
"CertificateSettings": {
"ContactEmail": null,
"DomainName": null,
"NginxRootDirectory": "C:\\Program Files\\3CX Phone System\\Bin\\nginx\\http",
"NginxConfigFolder": "C:\\Program Files\\3CX Phone System\\Bin\\nginx\\conf",
"CertificatesFolderPath": null,
"CertificateFullPath": null,
"CertificateKeyFullPath": null,
"DhParamFileFullPath": "C:\\Program Files\\3CX Phone System\\Bin\\nginx\\conf\\Instance1\\dhparam.pem",
Password Removed
Password Removed
"CertificateIssuer": 1,
"CertificateFilePath": null,
Password Removed
"CsrPemFullPath": null,
Password Removed
"CertDerFullPath": null,
"NginxConfigFilePath": null,
Password Removed
"CertificateLoadedFromBackup": false,
"CertificateKeyLoadedFromBackup": false,
Password Removed
Password Removed
},
"NetworkSettings": {
"Need3cxFqdn": false,
"UseNat": false,
"FqdnType": 0,
"ExternalFqdn": null,
"InternalFqdn": null,
"DomainGroup": null,
"FqdnDomain": null,
"SkipInternalFqdnSettings": false,
"SkipExternalFqdnSettings": false,
"Skip3cxFqdnSettings": false,
"SkipNeed3cxFqdnSettings": false,
"SkipFqdnDnsNameSettings": false,
"IpType": 0,
"PublicIp": null,
"LocalIp": null,
"NginxHttpPort": 5000,
"NginxHttpsPort": 5001,
"SipPort": 5060,
"TunnelPort": 5090,
"WebmeetingFqdn": null,
"FullExternalFqdn": null,
"FullInternalFqdn": null,
"BackendServerUrl": "http://127.0.0.1:5004"
},
"SetupConfig": null,
"BackupSettings": null
}
2020/08/23 05:57:17.688|Dbg|0001| Starting PostInstall, version = 16.0.6.584
2020/08/23 05:57:17.689|Dbg|0001| RuntimeInformation.FrameworkDescription = .NET Core 3.1.4 RuntimeInformation.OSDescription = Microsoft Windows 6.1.7601 Service Pack 1 , RuntimeInformation.ProcessArchitecture = X64
2020/08/23 05:57:17.690|Dbg|0001| TriggerQuickEditMode. setQuickEditMode = False
2020/08/23 05:57:17.691|Dbg|0001| Console handle = 3
2020/08/23 05:57:17.691|Dbg|0001| Old console mode = 407
2020/08/23 05:57:17.691|Dbg|0001| QuickEdit Mode already disabled
2020/08/23 05:57:17.697|Dbg|0001| Only renew certificates
2020/08/23 05:57:17.738|Dbg|0001| Renew certificates. appBin = C:\Program Files\3CX Phone System , nginxConfigFolder = 'C:\Program Files\3CX Phone System\Bin\nginx\conf' , configurationPath = 'C:\Program Files\3CX Phone System'
2020/08/23 05:57:17.741|Dbg|0001| CreateDbConnection, configurationPath = C:\Program Files\3CX Phone System
2020/08/23 05:57:17.741|Dbg|0001| PhoneSystem.ini path = C:\Program Files\3CX Phone System\Bin\3CXPhoneSystem.ini
2020/08/23 05:57:17.774|Dbg|0001| dbHost = 127.0.0.1 , dbPort = 5480 , dbName = masterprofiles
2020/08/23 05:57:17.774|Dbg|0001| dbUser = phonesystem
2020/08/23 05:57:17.774|Dbg|0001| Password Removed
2020/08/23 05:57:17.816|Dbg|0001| DBConnection created
2020/08/23 05:57:18.966|Dbg|0001| CloudDbManagerPlatformSpecific
2020/08/23 05:57:18.969|Dbg|0001| CloudDbManagerPlatformSpecific result = 3CXCfgServ01, 3CXAudioProvider01, 3CXPhoneSystem01, 3CXSystemService01, 3CXIVR01, 3CXCallFlow01, 3CXQueueManager01, 3CXTunnel01, 3CXPhoneSystemMC01
2020/08/23 05:57:18.973|Dbg|0001| GetServiceStatuses
2020/08/23 05:57:18.994|Dbg|0001| GetServiceStatuses result = [3CXCfgServ01, Running], [3CXAudioProvider01, Running], [3CXPhoneSystem01, Running], [3CXSystemService01, Running], [3CXIVR01, Running], [3CXCallFlow01, Running], [3CXQueueManager01, Running], [3CXTunnel01, Running], [3CXPhoneSystemMC01, Running]
2020/08/23 05:57:18.995|Dbg|0001| GetWebStatuses
2020/08/23 05:57:19.119|Dbg|0001| Service statuses =
{
"SystemId": "phonesystem",
"InstancesTotal": 1,
"InstancesAvailable": 0,
"InstancesInUseTheSystem": 1,
"instances": [
{
"InternalID": "Instance1",
"Tenant": "xxxxxxxxxx.my3cx.de",
"TenantId": "single",
"TenantFiendlyName": "not specified",
"TenantIP": "123.123.123.123",
"TenantSipPort": "5060",
"TenantTunnelPort": "5090",
Password Removed
Password Removed
Password Removed
Password Removed
Password Removed
"ERPExternalFqdn": "xxxxxxxxxx",
"ERPFqdnCode": "myde",
"LicenseKey": "XXXX-XXXX-XXXX-XXXX",
"Use3cxFQDN": "1",
"ServicesList": {
"3CXCfgServ01": "Running",
"3CXAudioProvider01": "Running",
"3CXPhoneSystem01": "Running",
"3CXSystemService01": "Running",
"3CXIVR01": "Running",
"3CXCallFlow01": "Running",
"3CXQueueManager01": "Running",
"3CXTunnel01": "Running",
"3CXPhoneSystemMC01": "Running"
},
"WebApplicationsList": {}
}
]
}
2020/08/23 05:57:19.153|Dbg|0001| Instance directories count = 1
2020/08/23 05:57:19.153|Dbg|0001| Processing directory: C:\Program Files\3CX Phone System\Bin\nginx\conf\instance1
2020/08/23 05:57:19.154|Dbg|0001| Connecting to PhoneSystem, configurationPath
2020/08/23 05:57:19.155|Dbg|0001| instanceName = Instance1
2020/08/23 05:57:19.246|Dbg|0001| instTable = phonesystem_mastertable
2020/08/23 05:57:19.340|Dbg|0001| CFGSERV_BINDING_INTERFACE = 127.0.0.1
2020/08/23 05:57:19.340|Dbg|0001| CFGSERV_BINDING_PORT = 5485
2020/08/23 05:57:19.340|Dbg|0001| INST_USER_CFGSERVER_USER = cfguser_default
2020/08/23 05:57:19.340|Dbg|0001| Password Removed
2020/08/23 05:57:19.340|Dbg|0001| Connecting to PhoneSystem
2020/08/23 05:57:20.839|Dbg|0001| PhoneSystemConnected = True (waittime=00:00:01.4976638)
2020/08/23 05:57:20.840|Dbg|0001| PhoneSystemConnected(2) = True
2020/08/23 05:57:20.843|Dbg|0001| Parameter name: REGENERATE_CERTIFICATE_EXPIRED_IN_DAYS, value = 25
2020/08/23 05:57:20.843|Dbg|0001| Is temporary certificate generated = False
2020/08/23 05:57:20.843|Dbg|0001| regenerateFromStr = , regenerateToStr =
2020/08/23 05:57:20.844|Dbg|0001| SIPPORT port in PBX = 5060
2020/08/23 05:57:20.844|Dbg|0001| Using SipPort = 5060
2020/08/23 05:57:20.844|Dbg|0001| TNL_CLIENT_LISTEN_PORT port in PBX = 5090
2020/08/23 05:57:20.844|Dbg|0001| Using TunnelPort = 5090
2020/08/23 05:57:20.872|Dbg|0001| Processing directory = C:\Program Files\3CX Phone System\Bin\nginx\conf\instance1, regenerateCertificateExiredInDays = 25, temporaryCertificateGenerated = False, regenerateNotSelfSignedCertificatesFrom = 0, regenerateNotSelfSignedCertificatesTo = 7, isPassiveFailoverMode = False
2020/08/23 05:57:20.874|Dbg|0001| Found instance =
{
"InternalID": "Instance1",
"Tenant": "xxxxxxxxxx.my3cx.de",
"TenantId": "single",
"TenantFiendlyName": "not specified",
"TenantIP": "123.123.123.123",
"TenantSipPort": "5060",
"TenantTunnelPort": "5090",
Password Removed
Password Removed
Password Removed
Password Removed
Password Removed
"ERPExternalFqdn": "xxxxxxxxxx",
"ERPFqdnCode": "myde",
"LicenseKey": "XXXX-XXXX-XXXX-XXXX",
"Use3cxFQDN": "1",
"ServicesList": {
"3CXCfgServ01": "Running",
"3CXAudioProvider01": "Running",
"3CXPhoneSystem01": "Running",
"3CXSystemService01": "Running",
"3CXIVR01": "Running",
"3CXCallFlow01": "Running",
"3CXQueueManager01": "Running",
"3CXTunnel01": "Running",
"3CXPhoneSystemMC01": "Running"
},
"WebApplicationsList": {}
}
2020/08/23 05:57:20.874|Dbg|0001| DoaminName = xxxxxxxxxx.my3cx.de
2020/08/23 05:57:21.002|Dbg|0001| Certificate C:\Program Files\3CX Phone System\Bin\nginx\conf\instance1\xxxxxxxxxx.my3cx.de-crt.pem not valid afetr 05.09.2020 02:20:48
2020/08/23 05:57:21.002|Dbg|0001| Days before expire 12,849618032054398
2020/08/23 05:57:21.003|Dbg|0001| CreateCerttificateKeyAndCsr
2020/08/23 05:57:22.563|Dbg|0001| CreateCerttificateKeyAndCsr completed
2020/08/23 05:57:22.564|Dbg|0001| Sending request to ERP to create FQDN and certificates
2020/08/23 05:57:23.398|Dbg|0001| Certificate generation started:
{
"RequestId": 15877881,
"RequestKey": "5c634d23-3884-44d0-976b-7e783359c948",
"TotalTimeFQDN": 600,
"ExpectingTimeFQDN": 220,
"ClientCheckStatusIntervalInSeconds": 20
}
2020/08/23 05:57:43.705|Dbg|0013| FQDN generation state changed. Nes state: WAITING_FOR_DNS
2020/08/23 05:59:04.509|Dbg|0005| FQDN generation state changed. Nes state: REQUESTING_CERTIFICATE
2020/08/23 05:59:24.777|Dbg|0013| FQDN generation state changed. Nes state: COMPLETED
2020/08/23 05:59:24.777|Dbg|0013| FQDN created. webMeetingFqdn = xxxxxxxxxx-myde.3cx.net
2020/08/23 05:59:24.790|Dbg|0001| Certificate generation ERP result
{
"ErrorMessage": null,
"ErrorMessageCode": null,
"WebmeetingFqdn": "xxxxxxxxxx-myde.3cx.net",
"CertificateInPemFormat": "LS0t xxxxxx ==",
"CertificateInDerFormat": "MD8F xxxxxx ==",
"RegenerateCertificateExpiredInDays": 25,
"FqdnCreationResultType": 0
}
2020/08/23 05:59:24.790|Dbg|0001| Generating DH params
2020/08/23 05:59:24.872|Dbg|0001| Notifying administrator
2020/08/23 05:59:24.872|Dbg|0001| Admin email: [email protected]
2020/08/23 05:59:24.973|Dbg|0001| Notify admin about failure: Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: Der angeforderte Vorgang wird nicht unterstützt.
at System.Security.Cryptography.CngKeyLite.SetKeyLength(SafeNCryptKeyHandle keyHandle, Int32 keySize)
at System.Security.Cryptography.CngKeyLite.GenerateNewExportableKey(String algorithm, Int32 keySize)
at System.Security.Cryptography.DSAImplementation.DSACng.GetDuplicatedKeyHandle()
at System.Security.Cryptography.DSAImplementation.DSACng.ExportKeyBlob(Boolean includePrivateParameters)
at System.Security.Cryptography.DSAImplementation.DSACng.ExportParameters(Boolean includePrivateParameters)
at PostInstall.CertificateUtils.DsaToDhParams(DSA dsa)
at PostInstall.CertificateGenerator.GenerateDhParam()
at PostInstall.CertificateGenerator.ProcessCertificatesDirectory(String directory, Boolean temporaryCertificateGenerated, Int32 regenerateNotSelfSignedCertificatesFrom, Int32 regenerateNotSelfSignedCertificatesTo, CloudServerStatus statuses, Int32 regenerateCertificateExiredInDays, String appBin, UInt16 sipPort, UInt16 tunnelPort, Nullable`1 httpPort, Nullable`1 httpsPort, Boolean isPassiveFailoverMode)
at PostInstall.CertificateGenerator.RenewCertificates(String appBin, String nginxConfigFolder, String configurationPath)
2020/08/23 05:59:25.312|Dbg|0001| Notification completed
2020/08/23 05:59:25.312|Dbg|0001| Processing directory C:\Program Files\3CX Phone System\Bin\nginx\conf\instance1 completed
2020/08/23 05:59:25.312|Dbg|0001| Disconnecting from PhoneSystem
2020/08/23 05:59:34.992|Dbg|0001| Phone System disconnected
2020/08/23 05:59:34.992|Dbg|0001| Finish updating certificates. Updated 0 certificates