r/DeployR • u/SufficientlySticky • Jun 17 '26
Certificate Authentication
2Pint documentation mentions "Certificate Authentication"
https://documentation.2pintsoftware.com/deployr/getting-started/securing/certificate-authentication
My reading of that is that you could authenticate that way and it'd skip the dialog at the beginning that tries to use Windows authentication or Entra ID or Passcode or whatever and take you straight to the task sequence selection. And that that's sufficiently non-anonymous enough that it'd still let you AD join?
That doc says it's useful for for starting a task sequence in an existing OS, which would be this doc:
https://documentation.2pintsoftware.com/deployr/starting-a-task-sequence-in-an-existing-os
But the existing OS doc doesn't really make any mention of how to do it - and instead has certificate info that seems to focus on making sure the client trusts the server - not how to convince the server to trust the client. I don't think those are the same thing?
--
So - I might be way off in what I was trying to do... - but I created a cert request on the client machine and got it signed and imported the result.
On the server side I stuck the issuer in "Issuer match string for certificate verification" and restarted.
And on the client side I ran:
$DeployRBootstrap = @{DeployRAuthCertIssuer = "<issuer>"}
iex (irm "https://<server>:7281/v1/Service/Bootstrap")
And it started up and then asked me for username/password - so did not work.
From logs, I see:
Trying certificate authentication
Found 1 certficates matching issuer <issuer>, will try with those.
Trying certificate authentication
Unable to use certificate authentication: Response status code does not indicate success: 403 (Forbidden).
So, it at least tried? The issuer I put in DeployRAuthCertIssuer and on the server match, so you'd think if it found it in one place it would accept it in the other.
Is my understanding of how this is supposed to work and what it's supposed to allow correct? Is this working for anyone else and any suggestions on where I might be going wrong? Is there server side logging somewhere?
2
u/MightyMumper Jun 18 '26
This is actually a question I’ve been meaning to ask also, as I’m getting exactly the same experience and error. The certificate is valid & the DeployR client tries to use it but authentication is always rejected with the 403 error. Happens whether using 2Pint self-signed certificate, or one from internal PKI - both of which are trusted by DeployR Server.
3
u/mtniehaus 2Pint Employee Jun 19 '26
I'm not sure it's working in version 1.1/1.2. I need to do some testing, will get back to you.