Accessor
Silver Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Коллеги, очень нужна помощь в получении сертификата LetsEncrypt для Мдемона. Запускаю его штатный скрипт и получаю ошибку. Я не силён в криптографических науках, поэтому прошу помощь зала. Ошибка следующая: Код: The HTTP challenge for mail.do-service.com.ua and mail.do-service.com.ua_Cert20178 has already been completed. Checking to see if a certificate already exists for mail.do-service.com.ua_Cert20178. Downloading Certificate. System.Management.Automation.CmdletInvocationException: Cannot export PKCS12; private hasn't been imported or generated ---> System.InvalidOperationException: Cannot export PKCS12; private hasn't been imported or generated в ACMESharp.POSH.GetCertificate.ProcessRecord() в C:\projects\acmesharp\ACMESharp\ACMESharp.POSH\GetCertificate.cs:строка 251 в System.Management.Automation.CommandProcessor.ProcessRecord() --- Конец трассировки внутреннего стека исключений --- в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() в System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) в System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) в System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) в System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) в System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Get-ACMECertificate : Cannot export PKCS12; private hasn't been imported or generated D:\mdaemon\letsencrypt\letsencrypt108.ps1:977 знак:24 + ... icateInfo = Get-ACMECertificate $global:Alias -ExportPkcs12 $CertOutp ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Get-ACMECertificate], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,ACMESharp.POSH.GetCertificate The script is stopping because an error occurred. | Из этого сообщения я понимаю, что либо нет, либо не импортировался приватный ключ. Что делать с этим? |