I am trying to run the script GetAppConfigSettings.ps1 from Microsoft docs help setting up a Key Vault The script contains the following # ********************************************************************************************** # Prep the cert credential data # ********************************************************************************************** $certificateName = "$applicationName" + "cert" $myCertThumbprint = (New-SelfSignedCertificate -Type Custom -Subject "$certificateName"-KeyUsage DigitalSignature -KeyAlgorithm RSA -KeyLength 2048 -CertStoreLocation [...] read more
Here is a recipe for trouble: because I have some hardware that can only talk to Windows Python I used Wine to run the Windows Python in Linux (Ubuntu). That worked. Now I wanted to make this solution a bit more portable and do the same thing inside a Docker [...] read more
We have a windows service that listens on a WCF port. The service starts up and successfully binds to the port maybe 25% of the time. This is happening on 2 different machines. This code has been stable for some time, the only difference may be that we re-targetted to [...] read more
I am using Visual Studio 2008, Framework 3.5 SP1. I have an assembly in which I have Strings.resx file. This file contains several strings. All over this assembly, I just get my strings back using "Strings.MyString" as it generates a CLR class. It compiles fine and no issues. But when [...] read more
My question, why when i'm trying to generate CSR in MMC Console, the pop up "provided type not defined" error will appeared? the error code -0x80090017 (-2146893801 NTE_PROV_TYPE_NOT_DEF). You may refer picture enter image description here [https://i.stack.imgur.com/HSaU3.png] enter image description here [https://i.stack.imgur.com/ilSjB.png] read more
I use Windows 10 and want to create a self-signed certificate with a custom cryptographic provider for my application's test. and here is my script: New-SelfSignedCertificate -CertStoreLocation "Cert:\LocalMachine\My" -Provider "Microsoft Base Cryptographic Provider v1.0" -Subject "CN=test" -KeyUsage "CertSign", "CRLSign", "DigitalSignature", "NonRepudiation" -KeyExportPolicy Exportable -NotAfter (Get-Date).AddYears(40) -Type Custom but i get [...] read more
We have a CRM/ERP web application (ASP.Net Forms) running on top of SharePoint (WSS and 201x). On the other hand we have add-ins for Office (WPF) closely integrated to the web application via WCF services. Both rely heavily on a WCF services project, in three ways: 1. WCF services called [...] read more