Skip to content

Commit fed2b9a

Browse files
committed
Fix an error that caused the certifcates not to be generated, bump to 0.3.3
1 parent 7f1ac1e commit fed2b9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

helper/proxy/TraefikHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ public static bool CreateTraefikCertificates()
214214

215215
// Run mkcert in a container to generate certs
216216
var dockerCmd = $@"
217-
docker run --rm --user 1000:1000 -v {rootCaDir}:/root/.local/share/mkcert -v {certificateDir}:/certs -w /certs alpine/mkcert ""*.{GeneralConfig.Proxy.SubDomain}.{GeneralConfig.Proxy.Domain}""
217+
docker run --rm --user 1000:1000 -e CAROOT=/tmp/mkcert -v {rootCaDir}:/tmp/mkcert -v {certificateDir}:/certs -w /certs alpine/mkcert ""*.{GeneralConfig.Proxy.SubDomain}.{GeneralConfig.Proxy.Domain}""
218218
";
219-
219+
220220
ExecCommand.Exec(dockerCmd);
221221

222222
// Update the traefik configuration to use the new certificates

webdev-tool.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net9.0</TargetFramework>
66
<RuntimeIdentifiers>linux-x64</RuntimeIdentifiers>
7-
<Version>0.3.2</Version>
7+
<Version>0.3.3</Version>
88
<InformationalVersion></InformationalVersion>
99
<Authors>Derroylo</Authors>
1010
<Product>WebDev-Tool</Product>

0 commit comments

Comments
 (0)