Running sonarqube scan for Next.Js Typescript codebase

Hello Sonar Community,

We are trying to run a sonar scan on our Next.Js Typescript code base. Our organization has deployed a sonarqube instance and we have to connect to it using the host url and certificate.
We are using sonar-scanner (sonarqube-scanner - npm) to initiate the scan.
But we are getting an error while trying to establish the connection to the remote sonarqube instance.

How do we pass the certificate to establish the connection ?

What is the error you’re getting?