Hello. Does typesense-js have a client configurati...
# community-help
j
Hello. Does typesense-js have a client configuration option to skip SSL verify? (for testing purposes with a self-signed cert and no CA?)
j
@James K The client itself doesn't support this, but the typesense client uses axios as the http library. So may be this helps: https://stackoverflow.com/questions/54903199/how-to-ignore-ssl-certificate-validation-in-node-requests/54903835
j
Ah! Great. Thank you very much.
👍 1
j
On a side note, if that doesn't work, I'd recommend using LetsEncrypt which gives you free SSL certs valid for 3 months at a time
Or another option is to add your cert to your computer's root store to get it to trust it, so node doesn't complain