You can’t have it stop doing cert checks - but you can add the public part of your self-signed certificate to the vagrant box’s trusted list, this might help:
(I’m assuming the cert is self signed).
Otherwise you’ll need to hit your service on a non-SSL endpoint.
You could try to mount the file into the docker container using the -v flag (or modify the compose file to have a file mount that puts the file in the right place):
Manual docker mounts:
Compose file reference:
(I can’t remember the syntax off the top of my head)