The following post save command fails to run:
getcert request -f /etc/pki/tls/certs/`hostname`-certmonger.pem -k /etc/pki/tls/private/`hostname`-certmonger.key -G rsa -g 2048 -c SelfSign -N "CN=`hostname`" -C "cat /etc/pki/tls/certs/`hostname`-certmonger.pem /etc/pki/tls/private/`hostname`-certmonger.key > /etc/pki/tls/certs/`hostname`-combined-certmonger.pem && chmod 700 /etc/pki/tls/certs/`hostname`-combined-certmonger.pem && systemctl reload haproxy"
I can't figure out exactly why, there are examples of this type of thing working elsewhere:
But for me as soon as I get to the redirect '>' the command fails, anything simple like 'touch foo' works fine, but if I put in a redirect it fails. Any ideas as to why?
On a side note you can see what we are aiming for here, but to have the ability to have a chained file natively supported in certmonger would be great.