Dhan codebase error and getting old price of shares

Traceback (most recent call last):
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\urllib\request.py”, line 1317, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\http\client.py”, line 1230, in request
self._send_request(method, url, body, headers, encode_chunked)
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\http\client.py”, line 1276, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\http\client.py”, line 1225, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\http\client.py”, line 1004, in _send_output
self.send(msg)
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\http\client.py”, line 944, in send
self.connect()
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\http\client.py”, line 1399, in connect
self.sock = self._context.wrap_socket(self.sock,
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\ssl.py”, line 500, in wrap_socket
return self.sslsocket_class._create(
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\ssl.py”, line 1040, in _create
self.do_handshake()
File “C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\ssl.py”, line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

During handling of the above exception, another exception occurred:

How to rectify this issues and i am also getting old data price of stocks and option