mkcert icon indicating copy to clipboard operation
mkcert copied to clipboard

Add an API option to create certificate files

Open xavierfoucrier opened this issue 2 years ago • 2 comments

Currently, files are not being created when using the package through createCa / createCert.

xavierfoucrier avatar May 30 '23 14:05 xavierfoucrier

The api outputs certificate text that you can write to a file with fs.writeFile

Subash avatar Jun 01 '23 17:06 Subash

Hello @Subash,

I know and discovered that during development. For me the package/api should have same behavior as CLI commands and should result in file creation.

But may be you have another point of view/argument about not introducing such feature inside mkcert. Let me know 😉

xavierfoucrier avatar Jun 02 '23 07:06 xavierfoucrier