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
$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') |