microcks / microcks-ansible-operator

Kubernetes Operator for easy setup and management of Microcks installs
Apache License 2.0
24 stars 5 forks source link

Handle long urls when generating certificates #42

Closed lbroudoux closed 2 years ago

lbroudoux commented 2 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.