Use certificates file instead of path.