helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

insecureAddress for SCEP provider

Open jbperrin88 opened this issue 1 year ago • 2 comments

What would you like to be added

on ca.yaml line 88 , there is only HTTPS port configuration.

Can you add an option to set another port or just enable InsecureAddress configuration

Why this is needed

This is needed to handle InsecureAddress configuration for SCEP provider

jbperrin88 avatar Jun 21 '23 14:06 jbperrin88

I workaround this issue .... by modifying the statefulSet after helm but this is not really beautiful....

If you enable insecure mode , you'll also need to add the right port map to Service.

By the way , i've got another issue.... linked to this one

I used existing secret with ca.json Inside ca.json i need to set static provisioners SCEP even if i've already set in via remote management (my config use mariadb databases)

So if i understand it well (i've read a lot from sources)

When this stepca service start , it look at CRL and SCEP and insecureAddress to enable insecure listener... Bu if the SCEP config is set inside the databases ... it to late to know it ...

Best regards

jbperrin88 avatar Jun 21 '23 15:06 jbperrin88

@jbperrin88 regarding your last issue: are you using the latest version of step-ca? I remember having changed something in the order of checks recently for SCEP specifically, because I came across the same issue.

The code for that is this: https://github.com/smallstep/certificates/blob/master/authority/authority.go#L638-L648. The change was introduced with https://github.com/smallstep/certificates/commit/4bb88adf63fe03b134dfb310aa6b725297137a8f.

We'll discuss the additional port in the chart in our upcoming open source triage meeting.

hslatman avatar Jun 26 '23 09:06 hslatman