Inputs to keygen.sh must be escaped as x509 values. Fixes bug#964870