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
genaromadrid / ca_validation.md
Last active July 16, 2024 11:28
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
Branyac / AzureDevOps-CloneTestPlan.ps1
Created April 7, 2019 18:45
AzureDevOps-CloneTestPlan
$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')