Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source code fails to compile #3

Closed
ericjohannsen opened this issue Jun 17, 2019 · 6 comments
Closed

Source code fails to compile #3

ericjohannsen opened this issue Jun 17, 2019 · 6 comments

Comments

@ericjohannsen
Copy link

Error CS0103 The name 'SslFlags' does not exist in the current context GetCert E:\Dev\GetCert\GetCertClient\DoGetCert.cs 1651 Active

@GeorgeSchiro
Copy link
Owner

This is not an issue. Please read the requirements:

GetCert Requirements

Read also issue #1.

@ericjohannsen
Copy link
Author

So you have to compile on a Windows Server platform? I don't actually have VS installed on my servers and don't plan to, so I suppose I can't use this solution.

@GeorgeSchiro
Copy link
Owner

Yes, an important part of this solution is automated website creation (one per SAN). Having several sites on the same server using the same cert requires SNI support which in turn requires the version of "Microsoft.Web.Administration.dll" that runs on Win2012 and later.

That said, you can still use the solution since the EXE has been included.

@ericjohannsen
Copy link
Author

The solution of running an EXE doesn't work for me as I review and compile from source any program not from a well-known vendor.

Unless I'm missing something, the only compilation issue is that the enum isn't defined on desktop versions of Windows. It may be worth considering replacing that enum with the documented value (1) or adding a comment in the code that those compiling on non-SNI versions of windows can make that substitution themselves.

I believe it will still run correctly on Windows Server if compiled that way?

@GeorgeSchiro
Copy link
Owner

I fully understand not wanting to run an EXE from someone you don't know. I feel the same way. That's why I always test new stuff in VMs that can be discarded when done.

Please make whatever adjustments to the code that makes sense for you. I would be very interested in knowing what you come up with. Let me know also if you have any other questions. Thank you for your interest Eric.

@GeorgeSchiro
Copy link
Owner

Thank you for kicking me in the pants Eric. Please try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants