Skip to content

Commit

Permalink
Checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bhillkeyfactor committed Nov 1, 2024
1 parent 7f3231b commit e452e9c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion PaloAltoTestConsole/KeyfactorClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public async Task<KeyfactorEnrollmentResult> EnrollCertificate(string commonName
var request = new RestRequest("/KeyfactorAPI/Enrollment/PFX", Method.Post);
request.AddHeader("X-Keyfactor-Requested-With", "APIClient");
request.AddHeader("x-certificateformat", "PFX");
request.AddHeader("Authorization", "Basic Y29tbWFuZFxLRkFkbWluOldoNUcyVGM2VkJZalNNcEM=");
request.AddHeader("Authorization", "Basic Authtoken");
request.AddHeader("Content-Type", "application/json");
var enrollRequest = new KeyfactorEnrollmentRequest
{
Expand Down
16 changes: 8 additions & 8 deletions PaloAltoTestConsole/RunTest.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@echo off

cd C:\Users\bhill\source\repos\paloalto-firewall-orchestrator\PaloAltoTestConsole\bin\Debug\netcoreapp3.1
set FWMachine=keyfactorpa.eastus2.cloudapp.azure.com
set FWApiUser=bhill
set FWApiPassword=Keyfactor2019!
set PAMachine=20.172.165.91
set PAApiUser=bhill
set PAApiPassword=Keyfactor2019!
cd C:\Users\asdf\source\repos\paloalto-firewall-orchestrator\PaloAltoTestConsole\bin\Debug\netcoreapp3.1
set FWMachine=asfd
set FWApiUser=asfd
set FWApiPassword=asfdsdfa
set PAMachine=afsd
set PAApiUser=bhisadfll
set PAApiPassword=adfssadf


echo ***********************************
Expand All @@ -31,7 +31,7 @@ set overwrite=false
set inventorytrusted=false
set templatestackname=""

goto :PANTemplates
REM goto :PANTemplates

echo ************************************************************************************************************************
echo TC1 %mgt%. Should do the %mgt% and add anything in the chain
Expand Down

0 comments on commit e452e9c

Please sign in to comment.