Fix the parsing of the message to get the uuid
The parser of the message output of getting the uuid was not correct. The format message is:
"The system has been registered with ID: ecbba906-96c5-4227-8077-1ecaaceddfc8 The registered system name is: linuxsoft-mirror..."
and not
" The system has been registered with ID: ecbba906-96c5-4227-8077-1ecaaceddfc8\nThe registered system name is: linuxsoft-mirror..."
we were passing the output ecbba906-96c5-4227-8077-1ecaaceddfc8\nThe registered system name is: linuxsoft-mirror..
instead of ecbba906-96c5-4227-8077-1ecaaceddfc8
to get the certificates, and it failed! Of course!
Let's try it this way!
Edited by Marta Vila Fernandes