microcks / microcks-ansible-operator

Kubernetes Operator for easy setup and management of Microcks installs
https://microcks.io
Apache License 2.0
26 stars 6 forks source link

Handle long urls when generating certificates #42

Closed lbroudoux closed 3 years ago

lbroudoux commented 3 years ago

Certificates generation fails when Microcks is installed with long urls. This has been analyse through #39 and #41. This is due to certificate CN that is set to urls but shout not be longer to 64 characters according the spec. Because we use subjectAltName to specify URL in certificate, we do not need to have CN set to URL and can truncate URL to 64 characters.