Update getUrl function for openssl options.