Fix handling of the CA certificate in "node wizard"

fixes #7656