diff --git a/patch.sh b/patch.sh index b0ea9b7..dcfca6a 100755 --- a/patch.sh +++ b/patch.sh @@ -51,6 +51,7 @@ if [ "$SUDO" == "" ]; then fi $SUDO patch -p1 < $cloneDir/patches/storer_storer.patch $SUDO patch -p1 < $cloneDir/patches/updater_updater.patch +$SUDO patch -p1 < $cloneDir/patches/wfe2_main.patch sed -i -e "s|./test|./labca|" start.py diff --git a/patches/wfe2_main.patch b/patches/wfe2_main.patch new file mode 100644 index 0000000..33b93ad --- /dev/null +++ b/patches/wfe2_main.patch @@ -0,0 +1,13 @@ +diff --git a/cmd/boulder-wfe2/main.go b/cmd/boulder-wfe2/main.go +index 9ea4b47ab..9beca8778 100644 +--- a/cmd/boulder-wfe2/main.go ++++ b/cmd/boulder-wfe2/main.go +@@ -104,7 +104,7 @@ type Config struct { + // DirectoryCAAIdentity is used for the /directory response's "meta" + // element's "caaIdentities" field. It should match the VA's "issuerDomain" + // configuration value (this value is the one used to enforce CAA) +- DirectoryCAAIdentity string `validate:"required,fqdn"` ++ DirectoryCAAIdentity string `validate:"required"` + // DirectoryWebsite is used for the /directory response's "meta" element's + // "website" field. + DirectoryWebsite string `validate:"required,url"`