Commit 6b3488a7 6b3488a7cf071c15575952a3ec032f3e3464f819 by Christian Gerdes

Support for CER/DER formatted client certificates

Also only files with PEM file extension are treated as PEM files. Unsupported formats will cause an error log message and not be imported.
1 parent a926a62e
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 </Request> 8 </Request>
9 </Items> 9 </Items>
10 <ContextParameters> 10 <ContextParameters>
11 <ContextParameter Name="Valid-PEM-Path" Value="U:\projekt\MjukaCertifikat\Interna_Certifikat_Okt_2016\8946019907112000070.pem" /> 11 <ContextParameter Name="PEM" Value="U:\projekt\MjukaCertifikat\Interna_Certifikat_Okt_2016\8946019907112000070.pem" />
12 </ContextParameters> 12 </ContextParameters>
13 <ValidationRules> 13 <ValidationRules>
14 <ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidateResponseUrl, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response URL" Description="Validates that the response URL after redirects are followed is the same as the recorded response URL. QueryString parameters are ignored." Level="Low" ExectuionOrder="BeforeDependents" /> 14 <ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidateResponseUrl, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response URL" Description="Validates that the response URL after redirects are followed is the same as the recorded response URL. QueryString parameters are ignored." Level="Low" ExectuionOrder="BeforeDependents" />
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 <WebTestPlugin Classname="LIL_VSTT_Plugins.ClientCertificatePlugin, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Client Certificate" Description="(C) Copyright 2016 LIGHTS IN LINE AB&#xD;&#xA;Sätter webtestet att använda ett specifikt client cert för SSL. Certifikatet behöver inte installeras i certstore först."> 33 <WebTestPlugin Classname="LIL_VSTT_Plugins.ClientCertificatePlugin, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Client Certificate" Description="(C) Copyright 2016 LIGHTS IN LINE AB&#xD;&#xA;Sätter webtestet att använda ett specifikt client cert för SSL. Certifikatet behöver inte installeras i certstore först.">
34 <RuleParameters> 34 <RuleParameters>
35 <RuleParameter Name="pCertificatePath" Value="" /> 35 <RuleParameter Name="pCertificatePath" Value="" />
36 <RuleParameter Name="pCertificatePathParameter" Value="Valid-PEM-Path" /> 36 <RuleParameter Name="pCertificatePathParameter" Value="PEM" />
37 <RuleParameter Name="pCertificatePassword" Value="" /> 37 <RuleParameter Name="pCertificatePassword" Value="" />
38 <RuleParameter Name="pCertificatePasswordParameter" Value="" /> 38 <RuleParameter Name="pCertificatePasswordParameter" Value="" />
39 <RuleParameter Name="pDebug" Value="True" /> 39 <RuleParameter Name="pDebug" Value="True" />
......