Skip to content

Commit

Permalink
Merge pull request #474 from slovensko-digital/fix-default-tsp
Browse files Browse the repository at this point in the history
fix default tsp to replace default from older installation
  • Loading branch information
celuchmarek authored Jul 1, 2024
2 parents fcee538 + 9ae1a97 commit 3e30c72
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ public String getTsaServer() {
}

public void setTsaServer(String value) {
// set default TSA if older problematic default is set
if (List.of("http://tsa.izenpe.com", "http://kstamp.keynectis.com/KSign/").contains(value))
value = "http://tsa.belgium.be/connect,http://ts.quovadisglobal.com/eu,http://tsa.sep.bg";

tsaServer = value;
if (value == null) {
tspSource = null;
Expand Down

0 comments on commit 3e30c72

Please sign in to comment.