I am trying to convert a Swagger JSON 1.2 file to version 2 using api-spec-converter. Getting the following SSL error:
F:\swagger-ui>api-spec-converter --from=swagger_1 --to=swagger_2 --syntax=yaml --order=alpha F:/swagger-ui/dist/commerce.json > swagger.json
Fatal Error: self-signed certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1088:34)
at TLSSocket.emit (events.js:198:13)
at TLSSocket._finishInit (_tls_wrap.js:666:8)
How to fix this error?