Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insecureAddress for SCEP provider #147

Open
jbperrin88 opened this issue Jun 21, 2023 · 2 comments
Open

insecureAddress for SCEP provider #147

jbperrin88 opened this issue Jun 21, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request needs triage Waiting for discussion / prioritization by team

Comments

@jbperrin88
Copy link

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 jbperrin88 added enhancement New feature or request needs triage Waiting for discussion / prioritization by team labels Jun 21, 2023
@jbperrin88
Copy link
Author

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

@hslatman
Copy link
Member

hslatman commented Jun 26, 2023

@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 smallstep/certificates@4bb88ad.

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

@hslatman hslatman self-assigned this Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

No branches or pull requests

2 participants