Skip to content

TLS option changes#901

Open
adamruzicka wants to merge 2 commits into
theforeman:masterfrom
adamruzicka:proxy-tls
Open

TLS option changes#901
adamruzicka wants to merge 2 commits into
theforeman:masterfrom
adamruzicka:proxy-tls

Conversation

@adamruzicka

Copy link
Copy Markdown
Contributor

Replace ssl_disabled_ciphers and tls_disabled_versions with tls_ciphers and tls_min_version.

A companion to theforeman/smart-proxy#947

Replace `ssl_disabled_ciphers` and `tls_disabled_versions`
with `tls_ciphers` and `tls_min_version`.

A companion to theforeman/smart-proxy@67f34e2
@adamruzicka

Copy link
Copy Markdown
Contributor Author

Looks like GHAs are having a moment.

Prepare workflow directory
Prepare all required actions
Getting action download info
Failed to resolve action download info. Error: Service Unavailable
Retrying in 28.551 seconds
Failed to resolve action download info. Error: Service Unavailable
Retrying in 12.18 seconds
Error: Service Unavailable
Error: Failed to resolve action download info.

Comment thread manifests/init.pp
Array[String] $trusted_hosts = $foreman_proxy::params::trusted_hosts,
Array[String] $ssl_disabled_ciphers = [],
Array[String] $tls_disabled_versions = [],
Optional[String] $tls_ciphers = undef,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of curiosity: how do we deal with this during upgrades?..

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a changelog entry marking this as a breaking change. A bit heavy handed, but better than nothing.

I could also open a PR against the installer to add a migration to remove the old value from the stored answers, but I'm not sure if that's necessary.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a changelog entry marking this as a breaking change. A bit heavy handed, but better than nothing.

I'd also suggest a changelog entry in https://github.com/theforeman/foreman-documentation/blob/master/guides/doc-Release_Notes/topics/foreman.adoc. Those are a bit more visible to users.

I could also open a PR against the installer to add a migration to remove the old value from the stored answers, but I'm not sure if that's necessary.

IIRC the installer (or really, Kafo) automatically removes keys that no longer exist. The only reason you'd need a migration is to convert the old value to the new. I don't think it's really feasible to do so and an explicit release note is IMHO good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants