Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Create self-signed Cert. on Windows 8 Enterprise x64
spiritwin
#1 Posted : Saturday, December 22, 2012 4:31:26 AM(UTC)
Groups: Member
Joined: 12/22/2012(UTC)
Posts: 6
Location: Cairo, Egypt

I just downloaded the new version 2.0.18 and installed it on my laptop
Installed .NET 3.5 SP1 as per requested on Windows 8 Enterprise x64.

Now, I have a problem creating a self-signed cert; with the following error message:


System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {127698E4-E730-4E5C-A2B1-21490A70C8A1} failed due to the following error: 80040154.
at UltiDev.Framework.CSR.GetEnroller()
at UltiDev.Framework.CSR.GenerateCSR(Nullable`1 certTypes, Boolean exportablePrivateKey, String DN, UInt16 keySizeKB, Boolean addPreAndPost, X509Certificate2& csrX509)
at UltiDev.Framework.X509CertHelper.CreateSelfSignedCert(String signingCertHash, String storeName, StoreLocation storeScope, String DN)
at UltiDev.Framework.X509CertHelper.CreateUltiDevSelfSigningCert()
at UltiDev.Framework.X509CertHelper.GetUltiDevSelfSigningCert()
at UltiDev.Framework.X509CertHelper.CreateSelfSignedSslCert(String hostOrIP, String[] subjectItems)
at UWS.Explorer.WF.Controls.CsrCertStoreControl.CreateSelfSignedCert()


waiting for your feedback.

thanks in advance.
Ultidev Team
#2 Posted : Saturday, December 22, 2012 3:22:02 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Most likely cause of this is missing or unregistered xenroll.dll, which is a COM proxy to cryptoAPI in part enabling X.509 cert management. UWS installer puts xenroll.dll in either C:\Windows\SysWOW64 or C:\Windows\system32 folder, depending whether it's a 64-bit version of Windows or not. Once you found xenroll.dll in our of these folders, please start DOS command prompt as Administrator and run "regsvr32 xenroll.dll". Try to create cert after that and let us know whether it worked.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#3 Posted : Sunday, December 23, 2012 4:22:15 PM(UTC)
Groups:

Message was deleted by a Moderator.
spiritwin
#4 Posted : Sunday, December 23, 2012 4:24:19 PM(UTC)
Groups: Member
Joined: 12/22/2012(UTC)
Posts: 6
Location: Cairo, Egypt

Hi UltiDev Team,

The xenroll.dll is missing (both locations).

after searching the MSDN, I found that this DLL will not be exists any more in new OSs.

"Prior to Windows Vista, the Certificate Enrollment Control was implemented in Xenroll.dll. The Xenroll.dll library has been removed from the operating system and replaced by CertEnroll.dll.", Microsoft said.

Check links below:
* http://msdn.microsoft.co...indows/desktop/bb931379(v=vs.85).aspx
* http://forums.iis.net/t/1190355.aspx/1

I hope you create a new Interop.CertEnroll.dll

Finally; Why you open new topics or posts by GUEST?.


waiting for your feedback.
Thanks in advance.
Ultidev Team
#5 Posted : Sunday, December 23, 2012 5:16:00 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

We are aware that xenroll.dll is no longer shipped with Windows, which is why UWS installs it. Installation of xenroll is not always successful due to computer policy settings, and sometimes other products using xenroll remove it during uninstallation. In any case, we are attaching xenroll to the post for your convenience.

We allow anonymous users to create posts to reduce hassle when getting support for our products.

Please let us know if this information was helpful.

Best regards,
UltiDev Team.
File Attachment(s):
xenroll.zip (81kb) downloaded 217 time(s).
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
spiritwin
#6 Posted : Tuesday, December 25, 2012 2:25:27 PM(UTC)
Groups: Member
Joined: 12/22/2012(UTC)
Posts: 6
Location: Cairo, Egypt

Thank you UltiDev Team,

I put it in "C:\Windows\SysWOW64" try to run the wizard, no success

tried to register it by regsvr32, gives me the following error
"The module "C:\Windows\SysWOW64\xenroll.dll" was loaded but the call to DllRegisterServer failed with error code 0x80020009.
For more information about this problem, search online using the error code as a search term."

finally, tried to put it into the "C:\Program Files (x86)\UltiDev\Web Server" folder, Also, no success.

"sometimes other products using xenroll remove it during uninstallation"
This is not in my case as it is a clean windows 8 install, just installed .NET 3.5 then the your great product, and notepad++. Nothing else. and Nothing was uninstalled.

If you need any more information, please don't hesitate to contact me.

Best Regards,
Mohamed Ahmed
Ultidev Team
#7 Posted : Thursday, December 27, 2012 12:52:56 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Mohamed Ahmed.

We were able to reproduce the problem with the xenroll.dll missing, but once we put it in Syswow64, we had no trouble it registering it with regsvr32. We ran it in administrator mode. Please also be sure that after you extracted the xebroll.dll from the zip archive, remove the "download from the internet" flag from the file by bringing up file's Properties dialog and clicking Unlock button. After that we had no problem registering certificate.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
spiritwin
#8 Posted : Friday, December 28, 2012 5:06:22 AM(UTC)
Groups: Member
Joined: 12/22/2012(UTC)
Posts: 6
Location: Cairo, Egypt

Hello UltiDev Team,

Still No luck, even after installing "VS2012 ultimate" today.
A screen shot attached
spiritwin attached the following image(s):
spiritwin attached the following image(s): create-cert-w8.png
Ultidev Team
#9 Posted : Friday, December 28, 2012 11:39:59 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi!

Could you please confirm that xenroll.dll file is not marked as not secure as downloaded from the Internet? Unlocking was the only thing we had to do to register xenroll.dll successfully.

Best regards,
UltiDev Team.
Ultidev Team attached the following image(s):
Ultidev Team attached the following image(s): xenroll blocked.png
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
spiritwin
#10 Posted : Saturday, December 29, 2012 7:37:17 AM(UTC)
Groups: Member
Joined: 12/22/2012(UTC)
Posts: 6
Location: Cairo, Egypt

UltiDev Team,

Yes, confirmed

Best regards,
Mohamed Ahmed
spiritwin attached the following image(s):
spiritwin attached the following image(s): xenroll-properies.png
Ultidev Team
#11 Posted : Saturday, December 29, 2012 6:23:03 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Mohamed Ahmed.

We unfortunately can't come up with better ideas to work around this problem. If you have run cmd.exe as administrator and then ran regsvr32 from there, we can't think of anything else to suggest. It's clearly a problem with xenroll.dll registration. Please see if you can register/unregister any other COM components to attribute the problem better to either xenroll itself, or to something with the system.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#12 Posted : Thursday, January 3, 2013 3:12:46 PM(UTC)
Groups:

Dear UltiDev Team,

Yes, I can register and unregister other components.
So, don't worry. I will try to create a new development VM soon, and hope it works smoothly as usual

Thank you.
Ultidev Team
#13 Posted : Friday, January 4, 2013 9:29:14 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Sorry we could not be of more help.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
spiritwin
#14 Posted : Saturday, June 1, 2013 12:07:42 AM(UTC)
Groups: Member
Joined: 12/22/2012(UTC)
Posts: 6
Location: Cairo, Egypt

Thank you,

I confirm that issue has been solved in the new version Build 19, May 25, 2013.
Ultidev Team
#15 Posted : Monday, June 3, 2013 8:57:16 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Great!

Thank you for taking time to post the update.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#16 Posted : Friday, March 30, 2018 9:58:13 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.