title: How to embed the certificate for the web socket in angular application
body: <p>I am working on an application that is suppose to receive the data over web sockets. I haven't worked with socket data before.</p>
  <p>I am trying to directly connect to web socket server over wss from my Angular application. This however throws an ERR_CERT_INVALID error.</p>
  <p>I assume, I need to provide some detail to the server for authentication in form of certificate keys.</p>
  <p>How can I pass these details directly from my Angular10 client while creating the connection. Is it even possible to pass these details while making a connection from browser or do I need to use an intermediate server ?</p>
  <p>Please suggest.</p>