UNABLE_TO_VERIFY_LEAF_SIGNATURE is a common error while using http-proxy or http-proxy-middleware. This error comes because of proxy running on https and local website also on https. Because of package configuration, local websites are supposed to run on http protocol only.