This is strange and the only thing that comes to mind is that you are behind a CGNAT and you can't reach you server, even if the cert is being emitted (don't know but maybe chente can give some input )
The OP is from Spain and his ISP is Movistar. As far as I know, Movistar in Spain does not use CGNAT.