It finally worked!
Instead of trying with XCA i tried installing Microsoft Certificate Server, creating the certificates and the certificate authority, distributing the corresponding files to the machines trusting my own certificate
server and it worked wothout problems!
Thanks and best regards,
Johann