Exporting a PFX Cert to Base64 Cer and Key files

Getting the .CER file Start by exporting the cert nomrally throguh MMC. On the Certificate Export Wizard, do not export the private key. Change the encoding to BASE-64 and export cert cert as you normally would. Getting the .key file Export the key again from MMC but this time, export the private key. This will … Read more

Redirect all HTTP to HTTPS in IIS

create a host wide redirect using IIS Manager. Select URL Rewrite, Add Rule(s)…, and Blank rule. Name:Redirect to HTTPS Match URLRequested URL: Matches the PatternUsing: WildcardsPattern: *Ignore case: Checked ConditionsLogical grouping: Match AnyCondition input: {HTTPS}Check if input string: Matches the PatternPattern: OFFIgnore case: CheckedTrack capture groups across conditions: Not checked Server VariablesLeave blank. ActionAction type: RedirectRedirect URL: https://{HTTP_HOST}{REQUEST_URI}Append query string: Not checkedRedirect type: Permanent (301) Apply the rule and run IISReset (or … Read more