Comments (6)
Hi,
The CERTENROLLLib COM object is referenced under "Myrtille.Common" project (there) and is used by the installer to create a self-signed certificate.
After looking a bit, I found that : http://stackoverflow.com/questions/11421502/asp-net-certenroll-cx509certificaterequestpkcs10-exception
Since in Win2008 R2 Microsoft overwrote the interface, if the code is written in Win2008 R2 the run time is looking for the new interface GUID and in regular Win2008 it can't be found because Win2008 R2 interface GUID differs from Win2008 interface Guid.
So, object can't be created, and as the result exception is thrown.
Accessing the interface by ProgID solves the issue.
I will try to update the code (CreateSelfSignedCertificate) as detailed there : http://stackoverflow.com/questions/33001983/issues-compiling-in-windows-10
...or I could also use another libs, such as Bouncy Castle, just like they did there: bertjohnson/OpaqueMail#45
Thanks for the report :)
from myrtille.
Thank you,
Work fine after remplacing :
var privateKey = new CX509PrivateKey();
by :
var privateKey = (IX509PrivateKey)Activator.CreateInstance(Type.GetTypeFromProgID("X509Enrollment.CX509PrivateKey"));
:-)
from myrtille.
Thanks, I will report it to the master branch :)
from myrtille.
This may occurs again on Windows 7 machines while the latest release (myrtille 1.8.0) because I moved to Visual Studio 2017 and Windows 10 as build environment; following the method indicated here: https://stackoverflow.com/a/39397121
from myrtille.
Hi ,
this error also occurs on Window Server 2012 R2 with the latest release 1.8.0 , please fix
from myrtille.
Fixed into 1.8.1
Tested successfully under Windows 10, Windows 7, Windows Server 2016 and Windows Server 2012 R2
from myrtille.
Related Issues (20)
- > Thanks for your report, indeed I have to update FreeRDP into next releases
- error while deploying via docker in CentOS HOT 1
- [Question] change Myrtille printer property to Letter size sheet HOT 1
- Install Failing in Windows 7 Ulitmate SP 1 Build 7601 HOT 2
- reset admin username and password myrtille HOT 1
- Remote program may not start HOT 1
- Maintenance HOT 2
- wfreerdp.exe and w3pw.exe are causing high CPU utilization HOT 2
- Update SSH client to support EC 25519 HOT 2
- File Transfer - Failed to retrieve files in TEMP\Documents
- Printing with myrtille pdf slow
- Installer fails to execute PowerShell script during installation
- only one enhanced session at a time?
- Auto-Connect URL
- Manually add Myrtille without msi install
- Myrtille service failure when 3rd party app installed
- Alphanumeric keys do not work if using VBox VRDP HOT 1
- Windows screen colors are missing
- Yikes - no installation information for windows
- New tab/window causing issues (ctrl t/n)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myrtille.