Enable Vault TLS

How can i generate a certificate in vault and use the same to enable tls on vault server ?

Read those documentation. But my answer is not there. How do I get the tls_key_file and tls_cert_file which I want to generate using vault.