From ddee70d9b8c851ef2204ef5b8ecfa61b2d353d1b Mon Sep 17 00:00:00 2001 From: Mart Somermaa Date: Tue, 28 May 2024 16:44:32 +0300 Subject: [PATCH] Update Web eID group ID to eu.webeid.security, amend REAME WE2-899 Signed-off-by: Mart Somermaa --- README.md | 4 +++- pom.xml | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5ab2297..a9d34d2 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Web eID only works over a HTTPS connection with a trusted HTTPS certificate. You can either setup a reverse HTTPS proxy during development or, alternatively, configure HTTPS support directly in the bundled web server. HTTPS configuration is described in more detail in section _[HTTPS support](#https-support)_ below. -You can use, for example, [_ngrok_](https://ngrok.com/) or [_localtunnel_](https://theboroer.github.io/localtunnel-www/) to get a reverse HTTPS proxy. Download _ngrok_ and run it in a terminal window by providing the protocol and Spring Boot application port arguments as follows: +You can use solutions like [_ngrok_](https://ngrok.com/), [_localtunnel_](https://theboroer.github.io/localtunnel-www/), or any other reverse HTTPS proxy tool. For example, with _ngrok_, download and run it in a terminal window by providing the protocol and the Spring Boot application port arguments as follows: ngrok http 8080 @@ -33,6 +33,8 @@ web-eid-auth-token: local-origin: "https://<>" ``` +**Note that the origin URL must not end with a slash `/`**. + ### 3. Configure the trusted certificate authority certificates The algorithm, which performs the validation of the Web eID authentication token, needs to know which intermediate certificate authorities (CA) are trusted to issue the eID authentication certificates. CA certificates are loaded either from `.cer` files in the profile-specific subdirectory of the [`certs` resource directory](src/main/resources/certs) or the [truststore file](src/main/resources/certs/prod/trusted_certificates.jks). By default, Estonian eID test CA certificates are included in the `dev` profile and production CA certificates in the `prod` profile. diff --git a/pom.xml b/pom.xml index ff4bc68..8cc9135 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ org.springframework.boot spring-boot-starter-parent - 3.2.4 + 3.3.0 eu.webeid.example web-eid-springboot-example - 3.0.0-SNAPSHOT + 3.1.0 web-eid-springboot-example Example Spring Boot application that demonstrates how to use Web eID for authentication and digital signing @@ -19,7 +19,7 @@ 17 3.2.5 - 3.0.2-SNAPSHOT + 3.1.0 5.3.0 1.44 3.4.2 @@ -45,7 +45,7 @@ ${digidoc4j.version} - org.webeid.security + eu.webeid.security authtoken-validation ${webeid.version}