That’s not how that works, that creates certs simply for the https encryption/protocol (to prevent http snooping and such). If you want “valid” certs, meaning you won’t have any “invalid” cert errors, you can either purchase them from other sites (search Google to find sites that do them) or have a look at the post below: