{"kind": "conn", "major": "18", "item": {"slug": "oauth-ca-file", "name": "oauth_ca_file", "name_zh": "", "category": "\u8eab\u4efd\u8ba4\u8bc1", "summary": "\u6240\u9009\u7248\u672c\u672a\u6536\u5f55\u6b64\u6761\u76ee\u3002", "aliases": ["PGOAUTHCAFILE", "oauth_ca_file"], "content_hash": "ba54c905f078d9857b6db543387ef5e03c4fecc1fc715db3a802ff85865dd28d", "versions": {"19": {"lang": "zh", "facts": [{"label": "\u5ba2\u6237\u7aef\u5e93", "value": "libpq 19rc2"}, {"label": "\u624b\u518c\u5b9a\u4e49", "value": "\u624b\u518c\u5df2\u8bb0\u8f7d"}, {"label": "\u6e90\u7801\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u56de\u9000", "value": "PGOAUTHCAFILE"}, {"label": "\u7f16\u8bd1\u65f6\u56de\u9000\u8868\u8fbe\u5f0f", "value": "NULL"}], "tables": [{"key": "environment", "rows": [{"name": {"url": "/docs/19/libpq-envars.html", "text": "PGOAUTHCAFILE"}, "description": "PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"}], "title": "\u73af\u5883\u53d8\u91cf\u56de\u9000", "columns": [{"key": "name", "label": "\u53d8\u91cf"}, {"key": "description", "label": "\u624b\u518c\u8bb0\u8f7d\u7684\u884c\u4e3a"}]}], "keyword": "oauth_ca_file", "related": [{"url": "/docs/19/libpq-pgservice.html", "label": "\u8fde\u63a5\u670d\u52a1\u6587\u4ef6"}, {"url": "/docs/19/libpq-pgpass.html", "label": "\u53e3\u4ee4\u6587\u4ef6"}, {"url": "/docs/19/libpq-envars.html", "label": "\u6240\u6709 libpq \u73af\u5883\u53d8\u91cf"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19rc2/postgresql-19rc2.tar.bz2", "label": "19rc2", "major": "19", "channel": "preview", "manifest": {"major": "19", "release": "19rc2", "source_url": "https://ftp.postgresql.org/pub/source/v19rc2/postgresql-19rc2.tar.bz2", "source_sha256": "23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351"}, "revision": "cd49a2a98fed04eec7571858125796f86e63613d1985225049f2aa8b0955f256", "evidence_kind": "English manual and source declarations", "source_sha256": "23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351"}, "sources": [{"url": "/docs/19/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE", "file": "libpq-connect.html", "label": "19rc2 English manual \u00b7 libpq-connect.html", "anchor": "LIBPQ-CONNECT-OAUTH-CA-FILE", "sha256": "0a9acc6fe923f679e1c29b9c9e055af343b9f18d57000d0d2f105b792e7a8639"}, {"url": "https://ftp.postgresql.org/pub/source/v19rc2/postgresql-19rc2.tar.bz2", "file": "src/interfaces/libpq/fe-connect.c", "label": "19rc2 libpq connection option declarations", "sha256": "8c1ead9bb7a0fbbbc752d1ed9198e99b07c834495e502549309d0765d0bbf041", "archive_sha256": "23a7bb862e4bac395c047305ed0084117b01e71255ce858b907cdcd78ce40351"}, {"url": "/docs/19/libpq-envars.html", "file": "libpq-envars.html", "label": "19rc2 English manual \u00b7 libpq-envars.html", "anchor": "", "sha256": "af62a12e22e80fff7cb75a6a7760562861c414f73a4afbd5ec2e1c2f1e9c94b9"}, {"url": "/docs/19/libpq-pgservice.html", "file": "libpq-pgservice.html", "label": "19rc2 English manual \u00b7 libpq-pgservice.html", "anchor": "", "sha256": "eb83c4af16f3d34aa873fc313fdf55560bbdf1803d195d723e6eb88c9d8dcea4"}], "zh_from": "same-version-manual", "facts_zh": [{"label": "\u5ba2\u6237\u7aef\u5e93", "value": "libpq 19rc2"}, {"label": "\u624b\u518c\u5b9a\u4e49", "value": "\u624b\u518c\u5df2\u8bb0\u8f7d"}, {"label": "\u6e90\u7801\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u56de\u9000", "value": "PGOAUTHCAFILE"}, {"label": "\u7f16\u8bd1\u65f6\u56de\u9000\u8868\u8fbe\u5f0f", "value": "NULL"}], "sections": [{"title": "\u9ed8\u8ba4\u503c\u89e3\u6790\u4e0e\u670d\u52a1\u6587\u4ef6\u4f18\u5148\u7ea7", "paragraphs": ["\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u53ef\u7528\u4e8e\u9009\u62e9\u8fde\u63a5\u53c2\u6570\u7684\u9ed8\u8ba4\u503c\uff0c\u4f9b PQconnectdb \u3001 PQsetdbLogin \u548c PQsetdb \u5728\u8c03\u7528\u4ee3\u7801\u672a\u76f4\u63a5\u6307\u5b9a\u53c2\u6570\u503c\u65f6\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728\u7b80\u5355\u7684\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u4e2d\u786c\u7f16\u7801\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002", "\u670d\u52a1\u540d\u79f0\u53ef\u4ee5\u5728\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u6216\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u4e2d\u5b9a\u4e49\u3002\u5982\u679c\u540c\u4e00\u4e2a\u670d\u52a1\u540d\u79f0\u5b58\u5728\u4e8e\u7528\u6237\u6587\u4ef6\u548c\u7cfb\u7edf\u6587\u4ef6\u4e2d\uff0c\u5219\u7528\u6237\u6587\u4ef6\u4f18\u5148\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u540d\u4e3a ~/.pg_service.conf \u3002\u5728 Microsoft Windows \u4e0a\uff0c\u5b83\u7684\u540d\u79f0\u4e3a %APPDATA%\\postgresql\\.pg_service.conf \uff08\u5176\u4e2d %APPDATA% \u6307\u7528\u6237\u914d\u7f6e\u6587\u4ef6\u5939\u4e2d\u7684\u5e94\u7528\u6570\u636e\u5b50\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSERVICEFILE \u6765\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u540d\u4e3a pg_service.conf \u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5728 PostgreSQL \u5b89\u88c5\u7684 etc \u76ee\u5f55\u4e2d\u5bfb\u627e\uff08\u4f7f\u7528 pg_config --sysconfdir \u6765\u51c6\u786e\u8bc6\u522b\u6b64\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSYSCONFDIR \u6765\u6307\u5b9a\u53e6\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f46\u4e0d\u80fd\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002", "\u4ece\u670d\u52a1\u6587\u4ef6\u4e2d\u83b7\u53d6\u7684\u8fde\u63a5\u53c2\u6570\u4f1a\u4e0e\u5176\u4ed6\u6765\u6e90\u7684\u53c2\u6570\u5408\u5e76\u3002\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u4f1a\u8986\u76d6\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\uff0c\u800c\u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u7ed9\u51fa\u7684\u503c\u53c8\u4f1a\u8986\u76d6\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e0a\u8ff0\u670d\u52a1\u6587\u4ef6\u65f6\uff0c\u8fde\u63a5\u5b57\u7b26\u4e32 service=mydb port=5434 \u5c06\u4f7f\u7528\u4e3b\u673a somehost \u3001\u7aef\u53e3 5434 \u3001\u7528\u6237 admin \uff0c\u4ee5\u53ca\u7531\u73af\u5883\u53d8\u91cf\u6216\u5185\u7f6e\u9ed8\u8ba4\u503c\u8bbe\u7f6e\u7684\u5176\u4ed6\u53c2\u6570\u3002"]}, {"title": "\u73af\u5883\u53d8\u91cf\u8bc1\u636e", "paragraphs": ["PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"]}], "center_zh": {"locale": "zh-Hans", "payload": {"description_zh": "\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002", "description_zh_html": "<dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym class=\"acronym\">CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span class=\"productname\">Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span class=\"productname\">PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a class=\"xref\" href=\"/docs/19/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\">sslrootcert</a>\u3002\n       </p></dd>"}, "summary": "\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002", "body_html": "<dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym class=\"acronym\">CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span class=\"productname\">Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span class=\"productname\">PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a class=\"xref\" href=\"/docs/19/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\">sslrootcert</a>\u3002\n       </p></dd>", "body_sha256": "3f5adb296aa701f9b0d4616330ffc09eac0afd321e0d7fa871cd87312bc9cb05", "content_hash": "b2bb54d45e0807ec41e3e530e8aa43bcde87d54bbf06e5e3cd76c863188fba3c", "source_revision": "pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552", "definition_version": "19", "documentation_release": "19rc2"}, "signature": "oauth_ca_file", "tables_zh": [{"key": "environment", "rows": [{"name": {"url": "/docs/19/libpq-envars.html", "text": "PGOAUTHCAFILE"}, "description": "PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"}], "title": "\u73af\u5883\u53d8\u91cf\u56de\u9000", "columns": [{"key": "name", "label": "\u53d8\u91cf"}, {"key": "description", "label": "\u624b\u518c\u8bb0\u8f7d\u7684\u884c\u4e3a"}]}], "documented": true, "related_zh": [{"url": "/docs/19/libpq-pgservice.html", "label": "\u8fde\u63a5\u670d\u52a1\u6587\u4ef6"}, {"url": "/docs/19/libpq-pgpass.html", "label": "\u53e3\u4ee4\u6587\u4ef6"}, {"url": "/docs/19/libpq-envars.html", "label": "\u6240\u6709 libpq \u73af\u5883\u53d8\u91cf"}], "description": ["\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002"], "environment": [{"name": "PGOAUTHCAFILE", "source_url": "/docs/19/libpq-envars.html", "description": "PGOAUTHCAFILE behaves the same as the oauth_ca_file connection parameter."}], "manual_html": "<dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym class=\"acronym\">CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span class=\"productname\">Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span class=\"productname\">PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a class=\"xref\" href=\"/docs/19/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\">sslrootcert</a>\u3002\n       </p></dd>", "manual_path": "libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE", "sections_zh": [{"title": "\u9ed8\u8ba4\u503c\u89e3\u6790\u4e0e\u670d\u52a1\u6587\u4ef6\u4f18\u5148\u7ea7", "paragraphs": ["\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u53ef\u7528\u4e8e\u9009\u62e9\u8fde\u63a5\u53c2\u6570\u7684\u9ed8\u8ba4\u503c\uff0c\u4f9b PQconnectdb \u3001 PQsetdbLogin \u548c PQsetdb \u5728\u8c03\u7528\u4ee3\u7801\u672a\u76f4\u63a5\u6307\u5b9a\u53c2\u6570\u503c\u65f6\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728\u7b80\u5355\u7684\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u4e2d\u786c\u7f16\u7801\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002", "\u670d\u52a1\u540d\u79f0\u53ef\u4ee5\u5728\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u6216\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u4e2d\u5b9a\u4e49\u3002\u5982\u679c\u540c\u4e00\u4e2a\u670d\u52a1\u540d\u79f0\u5b58\u5728\u4e8e\u7528\u6237\u6587\u4ef6\u548c\u7cfb\u7edf\u6587\u4ef6\u4e2d\uff0c\u5219\u7528\u6237\u6587\u4ef6\u4f18\u5148\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u540d\u4e3a ~/.pg_service.conf \u3002\u5728 Microsoft Windows \u4e0a\uff0c\u5b83\u7684\u540d\u79f0\u4e3a %APPDATA%\\postgresql\\.pg_service.conf \uff08\u5176\u4e2d %APPDATA% \u6307\u7528\u6237\u914d\u7f6e\u6587\u4ef6\u5939\u4e2d\u7684\u5e94\u7528\u6570\u636e\u5b50\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSERVICEFILE \u6765\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u540d\u4e3a pg_service.conf \u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5728 PostgreSQL \u5b89\u88c5\u7684 etc \u76ee\u5f55\u4e2d\u5bfb\u627e\uff08\u4f7f\u7528 pg_config --sysconfdir \u6765\u51c6\u786e\u8bc6\u522b\u6b64\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSYSCONFDIR \u6765\u6307\u5b9a\u53e6\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f46\u4e0d\u80fd\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002", "\u4ece\u670d\u52a1\u6587\u4ef6\u4e2d\u83b7\u53d6\u7684\u8fde\u63a5\u53c2\u6570\u4f1a\u4e0e\u5176\u4ed6\u6765\u6e90\u7684\u53c2\u6570\u5408\u5e76\u3002\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u4f1a\u8986\u76d6\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\uff0c\u800c\u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u7ed9\u51fa\u7684\u503c\u53c8\u4f1a\u8986\u76d6\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e0a\u8ff0\u670d\u52a1\u6587\u4ef6\u65f6\uff0c\u8fde\u63a5\u5b57\u7b26\u4e32 service=mydb port=5434 \u5c06\u4f7f\u7528\u4e3b\u673a somehost \u3001\u7aef\u53e3 5434 \u3001\u7528\u6237 admin \uff0c\u4ee5\u53ca\u7531\u73af\u5883\u53d8\u91cf\u6216\u5185\u7f6e\u9ed8\u8ba4\u503c\u8bbe\u7f6e\u7684\u5176\u4ed6\u53c2\u6570\u3002"]}, {"title": "\u73af\u5883\u53d8\u91cf\u8bc1\u636e", "paragraphs": ["PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"]}], "localization": {"status": "same-version-reviewed-manual", "language": "zh", "source_language": "en", "source_revision": "pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552", "documentation_release": "19rc2"}, "source_option": {"keyword": "oauth_ca_file", "declaration": "\"oauth_ca_file\", \"PGOAUTHCAFILE\", NULL, NULL, \"OAuth-CA-File\", \"\", 64, offsetof(struct pg_conn, oauth_ca_file)", "environment": "PGOAUTHCAFILE", "source_notes": [], "compiled_default_expression": "NULL"}, "description_zh": "\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002", "comparison_data": {"keyword": "oauth_ca_file", "definition": "The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used. This parameter does not affect verification of the PostgreSQL server certificate; see sslrootcert instead.", "documented": true, "environment": "PGOAUTHCAFILE", "default_evidence": ["The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used."], "compiled_default_expression": "NULL"}, "comparison_hash": "210f735d3fb6060bce3d46d96f14edd4a4d5f8da8feb86268495b267a9307444", "manual_language": "zh", "default_evidence": ["The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used."], "description_zh_html": "<dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym class=\"acronym\">CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span class=\"productname\">Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span class=\"productname\">PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a class=\"xref\" href=\"/docs/19/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\">sslrootcert</a>\u3002\n       </p></dd>", "precedence_evidence": ["The following environment variables can be used to select default connection parameter values, which will be used by PQconnectdb , PQsetdbLogin and PQsetdb if no value is directly specified by the calling code. These are useful to avoid hard-coding database connection information into simple client applications, for example.", "Service names can be defined in either a per-user service file or a system-wide file. If the same service name exists in both the user and the system file, the user file takes precedence. By default, the per-user service file is named ~/.pg_service.conf . On Microsoft Windows, it is named %APPDATA%\\postgresql\\.pg_service.conf (where %APPDATA% refers to the Application Data subdirectory in the user's profile). A different file name can be specified by setting the environment variable PGSERVICEFILE . The system-wide file is named pg_service.conf . By default it is sought in the etc directory of the PostgreSQL installation (use pg_config --sysconfdir to identify this directory precisely). Another directory, but not a different file name, can be specified by setting the environment variable PGSYSCONFDIR .", "Connection parameters obtained from a service file are combined with parameters obtained from other sources. A service file setting overrides the corresponding environment variable, and in turn can be overridden by a value given directly in the connection string. For example, using the above service file, a connection string service=mydb port=5434 will use host somehost , port 5434 , user admin , and other parameters as set by environment variables or built-in defaults."], "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "5e06fe0541cd1f62a9fc1a66c342c19a2944ff3c98281bfbdb1d4a6d6d53fe2f", "previous_source_revision": "1bbbbf4133d426f0e4304010688d2984c30fb67df0cc3a61b3e37eb3f6f37833"}, "documentation_revision": {"inputs": [{"file": "libpq-connect.html", "kind": "same-version-reviewed-manual", "locale": "en", "sha256": "0a9acc6fe923f679e1c29b9c9e055af343b9f18d57000d0d2f105b792e7a8639", "version": "19rc2"}, {"file": "libpq-envars.html", "kind": "same-version-reviewed-manual", "locale": "en", "sha256": "af62a12e22e80fff7cb75a6a7760562861c414f73a4afbd5ec2e1c2f1e9c94b9", "version": "19rc2"}, {"file": "libpq-pgservice.html", "kind": "same-version-reviewed-manual", "locale": "en", "sha256": "eb83c4af16f3d34aa873fc313fdf55560bbdf1803d195d723e6eb88c9d8dcea4", "version": "19rc2"}, {"file": "libpq-connect.html", "kind": "same-version-reviewed-manual", "locale": "zh-Hans", "sha256": "1d7144796370b97fb227b4200635e45d261519b0fbe05fc184255e2931b6b968", "version": "19rc2"}, {"file": "libpq-envars.html", "kind": "same-version-reviewed-manual", "locale": "zh-Hans", "sha256": "b366048627a0339557df87b13a6618b0d3bdb6da008c7341394a6099f377dae6", "version": "19rc2"}, {"file": "libpq-pgservice.html", "kind": "same-version-reviewed-manual", "locale": "zh-Hans", "sha256": "eed3ad57808822e684b71e666dfd2703ca187d16c6f656869c6ef24512b1b75a", "version": "19rc2"}], "release": "19rc2", "source_revision": "pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552", "runtime_remeasured": false}}, "20": {"facts": [{"label": "\u5ba2\u6237\u7aef\u5e93", "value": "libpq 20devel"}, {"label": "\u624b\u518c\u5b9a\u4e49", "value": "\u624b\u518c\u5df2\u8bb0\u8f7d"}, {"label": "\u6e90\u7801\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u56de\u9000", "value": "PGOAUTHCAFILE"}, {"label": "\u7f16\u8bd1\u65f6\u56de\u9000\u8868\u8fbe\u5f0f", "value": "NULL"}], "tables": [{"key": "environment", "rows": [{"name": {"url": "/docs/devel/libpq-envars.html", "text": "PGOAUTHCAFILE"}, "description": "PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"}], "title": "\u73af\u5883\u53d8\u91cf\u56de\u9000", "columns": [{"key": "name", "label": "\u53d8\u91cf"}, {"key": "description", "label": "\u624b\u518c\u8bb0\u8f7d\u7684\u884c\u4e3a"}]}], "keyword": "oauth_ca_file", "related": [{"url": "/docs/devel/libpq-pgservice.html", "label": "\u8fde\u63a5\u670d\u52a1\u6587\u4ef6"}, {"url": "/docs/devel/libpq-pgpass.html", "label": "\u53e3\u4ee4\u6587\u4ef6"}, {"url": "/docs/devel/libpq-envars.html", "label": "\u6240\u6709 libpq \u73af\u5883\u53d8\u91cf"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "manifest": {"major": "20", "release": "20devel", "source_url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "source_sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "revision": "3cd0885bb4eccdbaac1a21177cc639e9031e54bd8ea6536c45224b5563354ce2", "evidence_kind": "English manual and source declarations", "source_sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sources": [{"url": "/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE", "file": "libpq-connect.html", "label": "20devel English manual \u00b7 libpq-connect.html", "anchor": "LIBPQ-CONNECT-OAUTH-CA-FILE", "sha256": "749f6d94c709fd8eaba5d20808eefe1ec7c230bbcc95a4f8da79682c3fe103e1"}, {"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "file": "src/interfaces/libpq/fe-connect.c", "label": "20devel libpq connection option declarations", "sha256": "d6eab6e2f37054b32a7ee7039b53beae603316f8ec3f0a14716061e042fc4aa1", "archive_sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, {"url": "/docs/devel/libpq-envars.html", "file": "libpq-envars.html", "label": "20devel English manual \u00b7 libpq-envars.html", "anchor": "", "sha256": "2d47f83ea9e01ce8eafa81bf38f7afd90483043e4b86d59579c7157f0af0c7d7"}, {"url": "/docs/devel/libpq-pgservice.html", "file": "libpq-pgservice.html", "label": "20devel English manual \u00b7 libpq-pgservice.html", "anchor": "", "sha256": "b3466fcd75b6dcfce5cae66da777d11b300e934e2d2a2cfaca9ead2154ea217f"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE", "anchor": "LIBPQ-CONNECT-OAUTH-CA-FILE", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "libpq-connect.html", "extraction": "exact-definition", "source_hash": "a23d3ff48f623a47c97234b2862b54cf60d9af907e3c94e1b05181ff943393a6", "fragment_sha256": "d1599c2e2771a7b9cbefc85c0bc7c43dae8dbcf86c4c34cb3a6bf2c2f4817daf", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "35c59a9e83a659167c03179a03781951d52207e5270b0ba23c7cdd26f2dbde35", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "3cd0885bb4eccdbaac1a21177cc639e9031e54bd8ea6536c45224b5563354ce2"}, "facts_zh": [{"label": "\u5ba2\u6237\u7aef\u5e93", "value": "libpq 20devel"}, {"label": "\u624b\u518c\u5b9a\u4e49", "value": "\u624b\u518c\u5df2\u8bb0\u8f7d"}, {"label": "\u6e90\u7801\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u56de\u9000", "value": "PGOAUTHCAFILE"}, {"label": "\u7f16\u8bd1\u65f6\u56de\u9000\u8868\u8fbe\u5f0f", "value": "NULL"}], "sections": [{"title": "\u9ed8\u8ba4\u503c\u89e3\u6790\u4e0e\u670d\u52a1\u6587\u4ef6\u4f18\u5148\u7ea7", "paragraphs": ["\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u53ef\u7528\u4e8e\u9009\u62e9\u8fde\u63a5\u53c2\u6570\u7684\u9ed8\u8ba4\u503c\uff0c\u4f9b PQconnectdb \u3001 PQsetdbLogin \u548c PQsetdb \u5728\u8c03\u7528\u4ee3\u7801\u672a\u76f4\u63a5\u6307\u5b9a\u53c2\u6570\u503c\u65f6\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728\u7b80\u5355\u7684\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u4e2d\u786c\u7f16\u7801\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002", "\u670d\u52a1\u540d\u79f0\u53ef\u4ee5\u5728\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u6216\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u4e2d\u5b9a\u4e49\u3002\u5982\u679c\u540c\u4e00\u4e2a\u670d\u52a1\u540d\u79f0\u5b58\u5728\u4e8e\u7528\u6237\u6587\u4ef6\u548c\u7cfb\u7edf\u6587\u4ef6\u4e2d\uff0c\u5219\u7528\u6237\u6587\u4ef6\u4f18\u5148\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u540d\u4e3a ~/.pg_service.conf \u3002\u5728Microsoft Windows\u4e0a\uff0c\u5b83\u7684\u540d\u79f0\u4e3a %APPDATA%\\postgresql\\.pg_service.conf \uff08\u5176\u4e2d %APPDATA% \u6307\u7528\u6237\u914d\u7f6e\u6587\u4ef6\u5939\u4e2d\u7684\u5e94\u7528\u6570\u636e\u5b50\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u5728 libpq \u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528 servicefile \u5173\u952e\u5b57\uff0c\u6216\u8005\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSERVICEFILE \u6765\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u540d\u4e3a pg_service.conf \u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5728 PostgreSQL \u5b89\u88c5\u7684 etc \u76ee\u5f55\u4e2d\u5bfb\u627e\uff08\u4f7f\u7528 pg_config --sysconfdir \u6765\u51c6\u786e\u8bc6\u522b\u6b64\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSYSCONFDIR \u6765\u6307\u5b9a\u53e6\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f46\u4e0d\u80fd\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002", "\u4ece\u670d\u52a1\u6587\u4ef6\u4e2d\u83b7\u53d6\u7684\u8fde\u63a5\u53c2\u6570\u4f1a\u4e0e\u5176\u4ed6\u6765\u6e90\u7684\u53c2\u6570\u5408\u5e76\u3002\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u4f1a\u8986\u76d6\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\uff0c\u800c\u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u7ed9\u51fa\u7684\u503c\u53c8\u4f1a\u8986\u76d6\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e0a\u8ff0\u670d\u52a1\u6587\u4ef6\u65f6\uff0c\u8fde\u63a5\u5b57\u7b26\u4e32 service=mydb port=5434 \u5c06\u4f7f\u7528\u4e3b\u673a somehost \u3001\u7aef\u53e3 5434 \u3001\u7528\u6237 admin \uff0c\u4ee5\u53ca\u7531\u73af\u5883\u53d8\u91cf\u6216\u5185\u7f6e\u9ed8\u8ba4\u503c\u8bbe\u7f6e\u7684\u5176\u4ed6\u53c2\u6570\u3002"]}, {"title": "\u73af\u5883\u53d8\u91cf\u8bc1\u636e", "paragraphs": ["PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"]}], "center_zh": {"title": "oauth_ca_file", "locale": "zh-Hans", "source": {"key": "oauth-ca-file", "locale": "zh-Hans", "version": "20", "text_hash": "07f5a7c7c385d63b93656ab2985c9cf869737f86a984cb8066c40fb0124965c0", "collection": "conn", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "3cd0885bb4eccdbaac1a21177cc639e9031e54bd8ea6536c45224b5563354ce2"}, "payload": {"facts": [{"label": "\u5ba2\u6237\u7aef\u5e93", "value": "libpq 20devel"}, {"label": "\u624b\u518c\u5b9a\u4e49", "value": "\u624b\u518c\u5df2\u8bb0\u8f7d"}, {"label": "\u6e90\u7801\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u56de\u9000", "value": "PGOAUTHCAFILE"}, {"label": "\u7f16\u8bd1\u65f6\u56de\u9000\u8868\u8fbe\u5f0f", "value": "NULL"}], "tables": [{"key": "environment", "rows": [{"name": {"url": "/docs/devel/libpq-envars.html", "text": "PGOAUTHCAFILE"}, "description": "PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"}], "title": "\u73af\u5883\u53d8\u91cf\u56de\u9000", "columns": [{"key": "name", "label": "\u53d8\u91cf"}, {"key": "description", "label": "\u624b\u518c\u8bb0\u8f7d\u7684\u884c\u4e3a"}]}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE", "anchor": "LIBPQ-CONNECT-OAUTH-CA-FILE", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "libpq-connect.html", "extraction": "exact-definition", "source_hash": "a23d3ff48f623a47c97234b2862b54cf60d9af907e3c94e1b05181ff943393a6", "fragment_sha256": "d1599c2e2771a7b9cbefc85c0bc7c43dae8dbcf86c4c34cb3a6bf2c2f4817daf", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "35c59a9e83a659167c03179a03781951d52207e5270b0ba23c7cdd26f2dbde35", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "3cd0885bb4eccdbaac1a21177cc639e9031e54bd8ea6536c45224b5563354ce2"}, "sections": [{"title": "\u9ed8\u8ba4\u503c\u89e3\u6790\u4e0e\u670d\u52a1\u6587\u4ef6\u4f18\u5148\u7ea7", "paragraphs": ["\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u53ef\u7528\u4e8e\u9009\u62e9\u8fde\u63a5\u53c2\u6570\u7684\u9ed8\u8ba4\u503c\uff0c\u4f9b PQconnectdb \u3001 PQsetdbLogin \u548c PQsetdb \u5728\u8c03\u7528\u4ee3\u7801\u672a\u76f4\u63a5\u6307\u5b9a\u53c2\u6570\u503c\u65f6\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728\u7b80\u5355\u7684\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u4e2d\u786c\u7f16\u7801\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002", "\u670d\u52a1\u540d\u79f0\u53ef\u4ee5\u5728\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u6216\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u4e2d\u5b9a\u4e49\u3002\u5982\u679c\u540c\u4e00\u4e2a\u670d\u52a1\u540d\u79f0\u5b58\u5728\u4e8e\u7528\u6237\u6587\u4ef6\u548c\u7cfb\u7edf\u6587\u4ef6\u4e2d\uff0c\u5219\u7528\u6237\u6587\u4ef6\u4f18\u5148\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u540d\u4e3a ~/.pg_service.conf \u3002\u5728Microsoft Windows\u4e0a\uff0c\u5b83\u7684\u540d\u79f0\u4e3a %APPDATA%\\postgresql\\.pg_service.conf \uff08\u5176\u4e2d %APPDATA% \u6307\u7528\u6237\u914d\u7f6e\u6587\u4ef6\u5939\u4e2d\u7684\u5e94\u7528\u6570\u636e\u5b50\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u5728 libpq \u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528 servicefile \u5173\u952e\u5b57\uff0c\u6216\u8005\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSERVICEFILE \u6765\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u540d\u4e3a pg_service.conf \u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5728 PostgreSQL \u5b89\u88c5\u7684 etc \u76ee\u5f55\u4e2d\u5bfb\u627e\uff08\u4f7f\u7528 pg_config --sysconfdir \u6765\u51c6\u786e\u8bc6\u522b\u6b64\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSYSCONFDIR \u6765\u6307\u5b9a\u53e6\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f46\u4e0d\u80fd\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002", "\u4ece\u670d\u52a1\u6587\u4ef6\u4e2d\u83b7\u53d6\u7684\u8fde\u63a5\u53c2\u6570\u4f1a\u4e0e\u5176\u4ed6\u6765\u6e90\u7684\u53c2\u6570\u5408\u5e76\u3002\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u4f1a\u8986\u76d6\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\uff0c\u800c\u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u7ed9\u51fa\u7684\u503c\u53c8\u4f1a\u8986\u76d6\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e0a\u8ff0\u670d\u52a1\u6587\u4ef6\u65f6\uff0c\u8fde\u63a5\u5b57\u7b26\u4e32 service=mydb port=5434 \u5c06\u4f7f\u7528\u4e3b\u673a somehost \u3001\u7aef\u53e3 5434 \u3001\u7528\u6237 admin \uff0c\u4ee5\u53ca\u7531\u73af\u5883\u53d8\u91cf\u6216\u5185\u7f6e\u9ed8\u8ba4\u503c\u8bbe\u7f6e\u7684\u5176\u4ed6\u53c2\u6570\u3002"]}, {"title": "\u73af\u5883\u53d8\u91cf\u8bc1\u636e", "paragraphs": ["PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"]}], "description_zh": "\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002 \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 PostgreSQL \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 sslrootcert \u3002", "description_zh_html": "<p>\u8fde\u63a5\u53c2\u6570 oauth_ca_file\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym class=\"acronym\">CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span class=\"productname\">Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span class=\"productname\">PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a class=\"xref\" href=\"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\">sslrootcert</a>\u3002\n       </p></dd><p><a href=\"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002 \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 PostgreSQL \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 sslrootcert \u3002", "version": "20", "link_map": {"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT": "/docs/devel/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT", "/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE": "/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE"}, "body_html": "<p>\u8fde\u63a5\u53c2\u6570 oauth_ca_file\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym>CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span>Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span>PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a href=\"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\" rel=\"nofollow\">sslrootcert</a>\u3002\n       </p></dd><p><a href=\"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "5248af2f186496c7357f11e0fe5b509176c8ffd39fb60bc209eadc9ae48579fb", "content_hash": "07f5a7c7c385d63b93656ab2985c9cf869737f86a984cb8066c40fb0124965c0", "source_database": "center", "source_revision": "3cd0885bb4eccdbaac1a21177cc639e9031e54bd8ea6536c45224b5563354ce2"}, "signature": "oauth_ca_file", "tables_zh": [{"key": "environment", "rows": [{"name": {"url": "/docs/devel/libpq-envars.html", "text": "PGOAUTHCAFILE"}, "description": "PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"}], "title": "\u73af\u5883\u53d8\u91cf\u56de\u9000", "columns": [{"key": "name", "label": "\u53d8\u91cf"}, {"key": "description", "label": "\u624b\u518c\u8bb0\u8f7d\u7684\u884c\u4e3a"}]}], "documented": true, "description": ["\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002 \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 PostgreSQL \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 sslrootcert \u3002"], "environment": [{"name": "PGOAUTHCAFILE", "source_url": "/docs/devel/libpq-envars.html", "description": "PGOAUTHCAFILE behaves the same as the oauth_ca_file connection parameter."}], "manual_html": "", "manual_path": "libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE", "sections_zh": [{"title": "\u9ed8\u8ba4\u503c\u89e3\u6790\u4e0e\u670d\u52a1\u6587\u4ef6\u4f18\u5148\u7ea7", "paragraphs": ["\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\u53ef\u7528\u4e8e\u9009\u62e9\u8fde\u63a5\u53c2\u6570\u7684\u9ed8\u8ba4\u503c\uff0c\u4f9b PQconnectdb \u3001 PQsetdbLogin \u548c PQsetdb \u5728\u8c03\u7528\u4ee3\u7801\u672a\u76f4\u63a5\u6307\u5b9a\u53c2\u6570\u503c\u65f6\u4f7f\u7528\u3002\u4f8b\u5982\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u5728\u7b80\u5355\u7684\u5ba2\u6237\u7aef\u5e94\u7528\u7a0b\u5e8f\u4e2d\u786c\u7f16\u7801\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002", "\u670d\u52a1\u540d\u79f0\u53ef\u4ee5\u5728\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u6216\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u4e2d\u5b9a\u4e49\u3002\u5982\u679c\u540c\u4e00\u4e2a\u670d\u52a1\u540d\u79f0\u5b58\u5728\u4e8e\u7528\u6237\u6587\u4ef6\u548c\u7cfb\u7edf\u6587\u4ef6\u4e2d\uff0c\u5219\u7528\u6237\u6587\u4ef6\u4f18\u5148\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6bcf\u4e2a\u7528\u6237\u7684\u670d\u52a1\u6587\u4ef6\u540d\u4e3a ~/.pg_service.conf \u3002\u5728Microsoft Windows\u4e0a\uff0c\u5b83\u7684\u540d\u79f0\u4e3a %APPDATA%\\postgresql\\.pg_service.conf \uff08\u5176\u4e2d %APPDATA% \u6307\u7528\u6237\u914d\u7f6e\u6587\u4ef6\u5939\u4e2d\u7684\u5e94\u7528\u6570\u636e\u5b50\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u5728 libpq \u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u4f7f\u7528 servicefile \u5173\u952e\u5b57\uff0c\u6216\u8005\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSERVICEFILE \u6765\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002\u7cfb\u7edf\u8303\u56f4\u7684\u6587\u4ef6\u540d\u4e3a pg_service.conf \u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5728 PostgreSQL \u5b89\u88c5\u7684 etc \u76ee\u5f55\u4e2d\u5bfb\u627e\uff08\u4f7f\u7528 pg_config --sysconfdir \u6765\u51c6\u786e\u8bc6\u522b\u6b64\u76ee\u5f55\uff09\u3002\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf PGSYSCONFDIR \u6765\u6307\u5b9a\u53e6\u4e00\u4e2a\u76ee\u5f55\uff0c\u4f46\u4e0d\u80fd\u6307\u5b9a\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u3002", "\u4ece\u670d\u52a1\u6587\u4ef6\u4e2d\u83b7\u53d6\u7684\u8fde\u63a5\u53c2\u6570\u4f1a\u4e0e\u5176\u4ed6\u6765\u6e90\u7684\u53c2\u6570\u5408\u5e76\u3002\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u4f1a\u8986\u76d6\u76f8\u5e94\u7684\u73af\u5883\u53d8\u91cf\uff0c\u800c\u8fde\u63a5\u5b57\u7b26\u4e32\u4e2d\u76f4\u63a5\u7ed9\u51fa\u7684\u503c\u53c8\u4f1a\u8986\u76d6\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u4e0a\u8ff0\u670d\u52a1\u6587\u4ef6\u65f6\uff0c\u8fde\u63a5\u5b57\u7b26\u4e32 service=mydb port=5434 \u5c06\u4f7f\u7528\u4e3b\u673a somehost \u3001\u7aef\u53e3 5434 \u3001\u7528\u6237 admin \uff0c\u4ee5\u53ca\u7531\u73af\u5883\u53d8\u91cf\u6216\u5185\u7f6e\u9ed8\u8ba4\u503c\u8bbe\u7f6e\u7684\u5176\u4ed6\u53c2\u6570\u3002"]}, {"title": "\u73af\u5883\u53d8\u91cf\u8bc1\u636e", "paragraphs": ["PGOAUTHCAFILE \u7684\u884c\u4e3a\u4e0e oauth_ca_file \u8fde\u63a5\u53c2\u6570\u76f8\u540c\u3002"]}], "localization": {"status": "complete", "sources": [{"url": "/docs/devel/libpq-connect.html", "method": "same-major semantic node", "sha256": "80a1ddba976c7228bb9d179e08545f0a6328ffc9b880481df17a53fdebf42bb5", "language": "zh", "matched_nodes": ["#LIBPQ-CONNECT/div[7]/div[2]/dl[0]/dd[105]/p[0]", "#LIBPQ-CONNECT/div[7]/div[2]/dl[0]/dd[105]/p[1]"]}, {"url": "/docs/devel/libpq-envars.html", "method": "same-major semantic node", "sha256": "b4afd6d100d2be289d48e1a6f6fb9804dd0b684798b7dabf8bae7d3db074117f", "language": "zh", "matched_nodes": ["#LIBPQ-ENVARS/div[3]/ul[0]/li[37]", "#LIBPQ-ENVARS/p[2]"]}, {"url": "/docs/devel/libpq-pgservice.html", "method": "same-major semantic node", "sha256": "acea589bbba517979fe815bd3bff32cd6d5e6323e1d5b4f395d7864338868b26", "language": "zh", "matched_nodes": ["#LIBPQ-PGSERVICE/p[5]", "#LIBPQ-PGSERVICE/p[9]"]}], "language": "zh", "original_text": {"/summary": "The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used.", "/category": "Authentication", "/versions/20/description/0": "The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used.", "/versions/20/facts/0/label": "Client library", "/versions/20/facts/1/label": "Manual definition", "/versions/20/facts/1/value": "Documented", "/versions/20/facts/2/label": "Source environment fallback", "/versions/20/facts/3/label": "Compiled fallback expression", "/versions/20/tables/0/title": "Environment fallback", "/versions/20/related/0/label": "Connection service file", "/versions/20/related/1/label": "Password file", "/versions/20/related/2/label": "All libpq environment variables", "/versions/20/sections/0/title": "Default resolution and service-file precedence", "/versions/20/sections/1/title": "Environment variable evidence", "/versions/20/sections/0/paragraphs/0": "The following environment variables can be used to select default connection parameter values, which will be used by PQconnectdb , PQsetdbLogin and PQsetdb if no value is directly specified by the calling code. These are useful to avoid hard-coding database connection information into simple client applications, for example.", "/versions/20/sections/0/paragraphs/1": "Service names can be defined in either a per-user service file or a system-wide file. If the same service name exists in both the user and the system file, the user file takes precedence. By default, the per-user service file is named ~/.pg_service.conf . On Microsoft Windows, it is named %APPDATA%\\postgresql\\.pg_service.conf (where %APPDATA% refers to the Application Data subdirectory in the user's profile). A different file name can be specified using the servicefile key word in a libpq connection string or by setting the environment variable PGSERVICEFILE . The system-wide file is named pg_service.conf . By default it is sought in the etc directory of the PostgreSQL installation (use pg_config --sysconfdir to identify this directory precisely). Another directory, but not a different file name, can be specified by setting the environment variable PGSYSCONFDIR .", "/versions/20/sections/0/paragraphs/2": "Connection parameters obtained from a service file are combined with parameters obtained from other sources. A service file setting overrides the corresponding environment variable, and in turn can be overridden by a value given directly in the connection string. For example, using the above service file, a connection string service=mydb port=5434 will use host somehost , port 5434 , user admin , and other parameters as set by environment variables or built-in defaults.", "/versions/20/sections/1/paragraphs/0": "PGOAUTHCAFILE behaves the same as the oauth_ca_file connection parameter.", "/versions/20/tables/0/columns/0/label": "Variable", "/versions/20/tables/0/columns/1/label": "Documented behavior", "/versions/20/tables/0/rows/0/description": "PGOAUTHCAFILE behaves the same as the oauth_ca_file connection parameter."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "aa0e3c19b74aab3b7b0af2a52aa957d723b878c5afabc5c0d4642f0b8daee3b3", "canonical_center_text_hash": "07f5a7c7c385d63b93656ab2985c9cf869737f86a984cb8066c40fb0124965c0"}, "source_option": {"keyword": "oauth_ca_file", "declaration": "\"oauth_ca_file\", \"PGOAUTHCAFILE\", NULL, NULL, \"OAuth-CA-File\", \"\", 64, offsetof(struct pg_conn, oauth_ca_file)", "environment": "PGOAUTHCAFILE", "source_notes": [], "compiled_default_expression": "NULL"}, "description_zh": "\u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08 CA \uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 Curl \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002 \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 PostgreSQL \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 sslrootcert \u3002", "comparison_data": {"keyword": "oauth_ca_file", "definition": "The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used. This parameter does not affect verification of the PostgreSQL server certificate; see sslrootcert instead.", "documented": true, "environment": "PGOAUTHCAFILE", "default_evidence": ["The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used."], "compiled_default_expression": "NULL"}, "comparison_hash": "210f735d3fb6060bce3d46d96f14edd4a4d5f8da8feb86268495b267a9307444", "manual_language": "zh", "default_evidence": ["The name of a file containing one or more SSL certificate authority ( CA ) certificates, which will be used to verify the identity of the authorization server and its endpoints. By default, the Curl system certificate bundle is used."], "description_zh_html": "<p>\u8fde\u63a5\u53c2\u6570 oauth_ca_file\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><dd><p>\n        \u5305\u542b\u4e00\u4e2a\u6216\u591a\u4e2a SSL \u8bc1\u4e66\u9881\u53d1\u673a\u6784\uff08<acronym>CA</acronym>\uff09\u8bc1\u4e66\u7684\u6587\u4ef6\u540d\uff0c\u7528\u4e8e\u9a8c\u8bc1\u6388\u6743\u670d\u52a1\u5668\u53ca\u5176\u7aef\u70b9\u7684\u8eab\u4efd\u3002\u9ed8\u8ba4\u4f7f\u7528 <span>Curl</span> \u7684\u7cfb\u7edf\u8bc1\u4e66\u5305\u3002\n       </p><p>\n        \u8be5\u53c2\u6570\u4e0d\u4f1a\u5f71\u54cd\u5bf9 <span>PostgreSQL</span> \u670d\u52a1\u5668\u8bc1\u4e66\u7684\u9a8c\u8bc1\uff1b\u53c2\u89c1 <a href=\"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT\" rel=\"nofollow\">sslrootcert</a>\u3002\n       </p></dd><p><a href=\"/zh/docs/devel/libpq-connect.html#LIBPQ-CONNECT-OAUTH-CA-FILE\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "precedence_evidence": ["The following environment variables can be used to select default connection parameter values, which will be used by PQconnectdb , PQsetdbLogin and PQsetdb if no value is directly specified by the calling code. These are useful to avoid hard-coding database connection information into simple client applications, for example.", "Service names can be defined in either a per-user service file or a system-wide file. If the same service name exists in both the user and the system file, the user file takes precedence. By default, the per-user service file is named ~/.pg_service.conf . On Microsoft Windows, it is named %APPDATA%\\postgresql\\.pg_service.conf (where %APPDATA% refers to the Application Data subdirectory in the user's profile). A different file name can be specified using the servicefile key word in a libpq connection string or by setting the environment variable PGSERVICEFILE . The system-wide file is named pg_service.conf . By default it is sought in the etc directory of the PostgreSQL installation (use pg_config --sysconfdir to identify this directory precisely). Another directory, but not a different file name, can be specified by setting the environment variable PGSYSCONFDIR .", "Connection parameters obtained from a service file are combined with parameters obtained from other sources. A service file setting overrides the corresponding environment variable, and in turn can be overridden by a value given directly in the connection string. For example, using the above service file, a connection string service=mydb port=5434 will use host somehost , port 5434 , user admin , and other parameters as set by environment variables or built-in defaults."], "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "3cd0885bb4eccdbaac1a21177cc639e9031e54bd8ea6536c45224b5563354ce2", "previous_source_revision": "2eba5e0fd4c3bffb2803247b6cd537878e9d6ee5a6dfbe3c50ece8b421b80918"}}}}, "snapshot": null, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}