Unable to start Certify SSL Manager Service


#1

Hello,

I have a problem and I would appreciate your help. Until now everything worked fine. However, today I tried to add a new certificate and nothing worked.

My issue is very similar to this one: Cannot start Certify SSL Manager Service

I am unable to run either the service or the application.

After Launch Certify App :

Certify SSL Manager Service is not started. Please restart the service.

If I go to services manager and I start it manually, it says:

Windows cound not start the Certify SSL Manager Service service on Local Computer.
Error 5: Acces denied

The difference with the link provided before is the trace. If I execute the exe file from the console it says:

C:\Program Files (x86)\Certify>CertifySSLManager.Service.exe -displayname “Certify SSL Manager Service” -servicename “Certify.Service”
Configuration Result:
[Success] Name Certify.Service
[Success] DisplayName Certify SSL Manager Service
[Success] Description Certify SSL/TLS Manager Service
[Success] ServiceName Certify.Service
Topshelf v4.0.0.0, .NET Framework v4.0.30319.42000
Topshelf.Hosts.ConsoleRunHost Error: 0 : An exception occurred, System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation —> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
en System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
en System.Reflection.RuntimeModule.GetTypes()
en System.Reflection.Assembly.GetTypes()
en System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
en System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetExports(ImportDefinition definition)
en System.ComponentModel.Composition.Hosting.DirectoryCatalog.<>c__DisplayClass34_0.b__0(ComposablePartCatalog catalog)
en System.Linq.Enumerable.d__172.MoveNext() en System.Collections.Generic.List1…ctor(IEnumerable1 collection) en System.ComponentModel.Composition.Hosting.AggregateCatalog.GetExports(ImportDefinition definition) en System.ComponentModel.Composition.Hosting.AggregateCatalog.GetExports(ImportDefinition definition) en System.ComponentModel.Composition.Hosting.CatalogExportProvider.InternalGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) en System.ComponentModel.Composition.Hosting.CatalogExportProvider.InnerCatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) en System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports)
en System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExports(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports) en System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) en System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports)
en System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
en System.ComponentModel.Composition.Hosting.AggregateExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
en System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports) en System.ComponentModel.Composition.Hosting.CompositionContainer.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) en System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports)
en System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
en System.ComponentModel.Composition.Hosting.ImportEngine.TryGetExports(ExportProvider provider, ComposablePart part, ImportDefinition definition, AtomicComposition atomicComposition)
en System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable1 imports, AtomicComposition atomicComposition) en System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part) en System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports) en System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImports(ComposablePart part) en System.ComponentModel.Composition.Hosting.ComposablePartExportProvider.<>c__DisplayClass19_0.<Compose>b__0() en System.ComponentModel.Composition.Hosting.CompositionServices.TryInvoke(Action action) en System.ComponentModel.Composition.Hosting.ComposablePartExportProvider.Compose(CompositionBatch batch) en System.ComponentModel.Composition.Hosting.CompositionContainer.Compose(CompositionBatch batch) en System.ComponentModel.Composition.AttributedModelServices.ComposeParts(CompositionContainer container, Object[] attributedParts) en ACMESharp.Ext.ExtCommon.InitExtConfig[TExtConfig]() en D:\Work\GIT\certify\src\lib\ACMESharp\ACMESharp\ACMESharp\Ext\ExtCommon.cs:línea 136 en ACMESharp.Ext.ExtCommon.ReloadExtConfig[TExtConfig](TExtConfig existing) en D:\Work\GIT\certify\src\lib\ACMESharp\ACMESharp\ACMESharp\Ext\ExtCommon.cs:línea 74 en ACMESharp.Vault.VaultExtManager.AssertInit() en D:\Work\GIT\certify\src\lib\ACMESharp\ACMESharp\ACMESharp.Vault\VaultExtManager.cs:línea 93 en ACMESharp.Vault.VaultExtManager.GetProvider(String name, IReadOnlyDictionary2 reservedLeaveNull) en D:\Work\GIT\certify\src\lib\ACMESharp\ACMESharp\ACMESharp.Vault\VaultExtManager.cs:línea 70
en Certify.ACMESharpCompat.ACMESharpUtils.GetVault(String profileName) en D:\Work\GIT\certify\src\Certify.Core\ACMESharpCompat\ACMESharpUtils.cs:línea 72
en Certify.VaultManager.InitVault(Boolean staging) en D:\Work\GIT\certify\src\Certify.Core\Management\VaultManager.cs:línea 123
en Certify.VaultManager…ctor(String vaultFolderPath) en D:\Work\GIT\certify\src\Certify.Core\Management\VaultManager.cs:línea 62
en Certify.Management.APIProviders.ACMESharpProvider…ctor() en D:\Work\GIT\certify\src\Certify.Core\Management\APIProviders\ACMESharpProvider.cs:línea 15
en Certify.Management.CertifyManager…ctor() en D:\Work\GIT\certify\src\Certify.Core\Management\CertifyManager.cs:línea 107
en DynamicMethod(Object[] )
en LightInject.ServiceContainer.<>c__DisplayClass139_0.b__0()
en LightInject.ServiceContainer.<>c__DisplayClass188_0.b__0()
en LightInject.PerContainerLifetime.GetInstance(Func1 createInstance, Scope scope) en LightInject.ServiceContainer.EmitLifetime(ServiceRegistration serviceRegistration, Action1 emitMethod, IEmitter emitter)
en LightInject.ServiceContainer.<>c__DisplayClass187_0.b__1(IEmitter methodSkeleton)
en LightInject.ServiceContainer.<>c__DisplayClass142_0.b__0(IEmitter ms)
en LightInject.ServiceContainer.CreateDynamicMethodDelegate(Action1 serviceEmitter) en LightInject.ServiceContainer.CreateDelegate(Type serviceType, String serviceName, Boolean throwError) en LightInject.ServiceContainer.CreateDefaultDelegate(Type serviceType, Boolean throwError) en LightInject.ServiceContainer.GetInstance(Type serviceType) en LightInject.ServiceFactoryExtensions.GetInstance[TService](IServiceFactory factory) en Certify.Service.APIHost.Configuration(IAppBuilder appBuilder) en D:\Work\GIT\certify\src\Certify.Service\APIHost.cs:línea 44 --- Fin del seguimiento de la pila de la excepción interna --- en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) en System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) en Owin.Loader.DefaultLoader.<>c__DisplayClass12.<MakeDelegate>b__b(IAppBuilder builder) en Owin.Loader.DefaultLoader.<>c__DisplayClass1.<LoadImplementation>b__0(IAppBuilder builder) en Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context) en Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context) en Microsoft.Owin.Hosting.Starter.DirectHostingStarter.Start(StartOptions options) en Microsoft.Owin.Hosting.Starter.HostingStarter.Start(StartOptions options) en Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options) en Microsoft.Owin.Hosting.WebApp.Start(StartOptions options) en Microsoft.Owin.Hosting.WebApp.Start[TStartup](StartOptions options) en Certify.Service.Program.<>c.<Main>b__0_4(OwinService service) en D:\Work\GIT\certify\src\Certify.Service\Program.cs:línea 42 en Topshelf.ServiceConfiguratorExtensions.<>c__DisplayClass2_01.b__0(T service, HostControl control)
en Topshelf.Builders.DelegateServiceBuilder`1.DelegateServiceHandle.Start(HostControl hostControl)
en Topshelf.Hosts.ConsoleRunHost.Run()

I have no idea about what to do. Thank you for your help.


#2

Hi, this is really a very unusual error. I’d suggest re-installing the app but I’m not sure if that will really help. The failure appears to be when the app tries to load your ‘Vault’ configuration, which is where some configuration related to AcmeSharp is kept. I assume you haven’t moved any folders around(e,g. within c:\programdata\certify) or changed the background service to run under a different identity,

You could try upgrading to the v4 beta version as that has completely different components. We will also be aiming to release the full v4 version next week.