Error in tools/configure_octavia.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stsstack-bundles |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I think there is a little error in configure_
mkdir -p demoCA/newcerts # <-- lowercase 'd' in 'demoCA'
touch demoCA/index.txt
touch demoCA/
but the execution of the script fails with:
...
+ openssl ca -passin pass:foobar -config /etc/ssl/
Using configuration from /etc/ssl/
ca: ./DemoCA/newcerts is not a directory
./DemoCA/newcerts: No such file or directory
This happens because in /etc/ssl/
...
[ CA_default ]
dir = ./DemoCA # Where everything is kept <--- Capital D here!
....
So, in order to remain "in compliance" with the openssl.cnf file, the proposed solution is to change the script in this way:
mkdir -p DemoCA/newcerts
touch DemoCA/index.txt
touch DemoCA/
Thank you.
Regards,
Marco
Hi @marino-mrc that file is managed by the openssl package not stsstack-bundles:
ubuntu@openssl:~$ dpkg -S /etc/ssl/ openssl. cnf openssl. cnf openssl. cnf
openssl: /etc/ssl/
ubuntu@openssl:~$ grep -i demo /etc/ssl/
dir = ./demoCA # Where everything is kept
dir = ./demoCA # TSA root directory
ubuntu@openssl:~$ dpkg -l| grep "ii openssl"
ii openssl 1.1.1j-1ubuntu3.5 amd64 Secure Sockets Layer toolkit - cryptographic utility
And as you can see the default version uses "demoCA" so I assume your is different because you have modified it. Therefore I don't believe this is something we need to fix in stsstack-bundles.