Skip to content

Instantly share code, notes, and snippets.

View ilyas-it83's full-sized avatar
I may be slow to respond.

Ilyas F ilyas-it83

I may be slow to respond.
View GitHub Profile
genaromadrid /
Last active January 29, 2024 11:38
Validate a Certificate against a Certificate Authority using OpenSSL

Certificate CA Validation

The easy way

To validate a certificate agains a certificate authority you just have to run

openssl verify -trusted ca_root.pem -untrusted intermediate_ca.pem certificate.pem

You'll see a 'OK' message at the end of the output

Branyac / AzureDevOps-CloneTestPlan.ps1
Created April 7, 2019 18:45
$organization = "your_organization_name"
$PAT = "your_PAT"
$project = "your_project_name"
$planId = "testplan_id_from"
$suiteId = "testsuite_id_from"
$cloneTo = "name_of_new_testplan"
$authorization = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes(":$PAT"))
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Accept-Charset", 'UTF-8')