Just a minor issue, however: When certificates are created with the CN=<common_name> variable to override the default common name, then
make clean CN=<common_name>
assumes the default common name instead of <common_name>. As a consequence, the directories client_<common_name> and server_<common_name> are not deleted.
I already figured out myself that the problem is in common.mk lines 56 and 57:
clean:
$(PYTHON) profile.py clean
The clean target is missing the --common-name '$(CN)' option which is present in other targets. After I added the option like
Describe the bug
Just a minor issue, however: When certificates are created with the
CN=<common_name>
variable to override the default common name, thenassumes the default common name instead of
<common_name>
. As a consequence, the directoriesclient_<common_name>
andserver_<common_name>
are not deleted.I already figured out myself that the problem is in
common.mk
lines 56 and 57:The
clean
target is missing the--common-name '$(CN)'
option which is present in other targets. After I added the option likeeverything worked fine.
Reproduction steps
git clone https://github.com/rabbitmq/tls-gen tls-gen
cd tls-gen/basic
make CN="foobar"
make clean CN="foobar"
Expected behavior
The following directories are deleted:
Additional context
No response