"markecert.exe" Code Answer's

You're definitely familiar with the best coding language Whatever that developers use to develop their projects and they get all their queries like "markecert.exe" answered properly. Developers are finding an appropriate answer about markecert.exe related to the Whatever coding language. By visiting this online portal developers get answers concerning Whatever codes question like markecert.exe. Enter your desired code related query in the search bar and get every piece of information about Whatever code related question on markecert.exe. 

markecert.exe

By Unsightly UnicornUnsightly Unicorn on Jun 03, 2021
1.- We create a new root trusted cert:
$rootCert = New-SelfSignedCertificate -Subject 'CN=TestRootCA,O=TestRootCA,OU=TestRootCA' -KeyExportPolicy Exportable -KeyUsage CertSign,CRLSign,DigitalSignature -KeyLength 2048 -KeyUsageProperty All -KeyAlgorithm 'RSA' -HashAlgorithm 'SHA256'  -Provider 'Microsoft Enhanced RSA and AES Cryptographic Provider'

2.- We create the cert from the root trusted cert chain:
New-SelfSignedCertificate -DnsName "localhost" -FriendlyName "MyCert" -CertStoreLocation "cert:\LocalMachine\My" -Signer $rootCert -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1") -Provider "Microsoft Strong Cryptographic Provider" -HashAlgorithm "SHA256" -NotAfter (Get-Date).AddYears(10)

3.- We copy the thumbprint returned by the last command

4.- (If neccesary) We remove the last association ip/port/cert:
netsh http delete sslcert ipport=0.0.0.0:443

5.- We associate the new certificate with any ip and port 443 (the appid value does not matter, is any valid guid):
netsh http add sslcert ipport=0.0.0.0:443 appid='{214124cd-d05b-4309-9af9-9caa44b2b74a}' certhash=here_the_copied_thumbprint

6.- Now, you must open MMC (Certificates Local Computer) and drag and drop the TestRootCA  Personal/Certificates folder to Trusted Root Certification Authorities/Certificates.

Source: stackoverflow.com

Add Comment

0

All those coders who are working on the Whatever based application and are stuck on markecert.exe can get a collection of related answers to their query. Programmers need to enter their query on markecert.exe related to Whatever code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about markecert.exe for the programmers working on Whatever code while coding their module. Coders are also allowed to rectify already present answers of markecert.exe while working on the Whatever language code. Developers can add up suggestions if they deem fit any other answer relating to "markecert.exe". Visit this developer's friendly online web community, CodeProZone, and get your queries like markecert.exe resolved professionally and stay updated to the latest Whatever updates. 

Whatever answers related to "markecert.exe"

View All Whatever queries

Whatever queries related to "markecert.exe"

Browse Other Code Languages

CodeProZone