{"id":24093263,"url":"https://github.com/umd-lib/header-to-cert-valve","last_synced_at":"2026-06-05T20:31:21.168Z","repository":{"id":147002788,"uuid":"69397957","full_name":"umd-lib/header-to-cert-valve","owner":"umd-lib","description":"Tomcat valve that extracts a certificate from an HTTP request header and adds it to the request certificates.","archived":false,"fork":false,"pushed_at":"2020-08-25T00:36:12.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":14,"default_branch":"develop","last_synced_at":"2025-11-21T20:04:04.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umd-lib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-27T20:57:26.000Z","updated_at":"2016-09-27T21:19:09.000Z","dependencies_parsed_at":"2023-04-04T20:06:27.123Z","dependency_job_id":null,"html_url":"https://github.com/umd-lib/header-to-cert-valve","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/umd-lib/header-to-cert-valve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fheader-to-cert-valve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fheader-to-cert-valve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fheader-to-cert-valve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fheader-to-cert-valve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umd-lib","download_url":"https://codeload.github.com/umd-lib/header-to-cert-valve/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fheader-to-cert-valve/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33959537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-10T09:26:48.543Z","updated_at":"2026-06-05T20:31:21.153Z","avatar_url":"https://github.com/umd-lib.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# header-to-cert-valve\n\nParses a certificate in an HTTP request header and adds it to the request certificates.\n\n## Usage\n\nAdd the HeaderToCert valve prior to the other valves (e.g. SSL Authentication value) that needs the certificate to be present on the request.\n\n```xml\n\u003cValve className=\"edu.umd.lib.tomcat.valves.HeaderToCert\"\n  headerName=\"ssl-client-cert\"/\u003e\n```\n\nThe default header name is `ssl-client-cert`. The certificate must be in PEM format.\n\n### Apache Configuration\n\nThe main use case of this valve is when Tomcat is running behind a reverse proxy server such as Apache. To configure Apache to pass the certificate to Tomcat via an HTTP request header, add the following to your Apache configuration:\n\n```apacheconf\n# turn on optional client certificate authentication\nSSLVerifyClient optional\n\n# set the path to your local CA certificate\n# if a certificate is present in the request,\n# it must be signed by this CA\nSSLCACertificateFile /path/to/local/ca.crt\n    \n# initialize the SSL-Client-Cert header to a blank value\n# to avoid HTTP header forgeries\nRequestHeader set SSL-Client-Cert \"\"\n\n# pass the client cert to the web application\nRequestHeader set SSL-Client-Cert \"%{SSL_CLIENT_CERT}s\"\n```\n\n## License\n\nSee the [LICENSE](LICENSE.md) file for license rights and limitations (Apache 2.0).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fheader-to-cert-valve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumd-lib%2Fheader-to-cert-valve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fheader-to-cert-valve/lists"}