Daml-finance-app certificate error

I am on a Mac and have installed direnv and nix.
I receive this error relating to a certificate when navigating to daml-finance-app (daml-finance worked ok).
Any guidance would be appreciated, thanks.

direnv: loading ~/projects/daml/daml-finance-app/.envrc
direnv: using nix
direnv: ([/usr/local/bin/direnv export zsh]) is taking a while to execute. Use CTRL-C to give up.
this derivation will be built:
/nix/store/cas54x54vffb503zh78f2k0z6jjz8n77-daml-sdk.drv
building ‘/nix/store/cas54x54vffb503zh78f2k0z6jjz8n77-daml-sdk.drv’…
unpacking sources
unpacking source archive /nix/store/1qxqkh3123v49rqj3rmhb0p40d3lbsmp-source
source root is source
unpackPhase completed in 46 seconds
patching sources
configuring
no configure script, doing nothing
building
patching script interpreter paths in .
./install.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
./templates/finance-settlement/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
./templates/quickstart-finance/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
./templates/finance-lifecycling/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
./templates/finance-upgrades/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
./templates/finance-payoff-modeling/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
installing
Installing SDK release from directory.
daml: HTTP connection failed
context: Installing extracted SDK release.
details: HttpExceptionRequest Request {
host = “api.github.com
port = 443
secure = True
requestHeaders = [(“Accept”,“application/vnd.github+json”),(“User-Agent”,“Daml-Assistant/0.0”)]
path = “/repos/digital-asset/daml/releases”
queryString = “?per_page=100”
method = “GET”
proxy = Nothing
rawBody = False
redirectCount = 10
responseTimeout = ResponseTimeoutMicro 10000000
requestVersion = HTTP/1.1
proxySecureMode = ProxySecureWithConnect
}
(InternalException (HandshakeFailed (Error_Protocol (“certificate rejected: security: createProcess: posix_spawnp: failed (Undefined error: 0)”,True,CertificateUnknown))))

error: builder for ‘/nix/store/cas54x54vffb503zh78f2k0z6jjz8n77-daml-sdk.drv’ failed with exit code 1;
last 25 log lines:
> ./templates/quickstart-finance/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
> ./templates/finance-lifecycling/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
> ./templates/finance-upgrades/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
> ./templates/finance-payoff-modeling/get-dependencies.sh: interpreter directive changed from “#!/usr/bin/env bash” to “/nix/store/8q570yrfxa7f2yslrqal1jscx79939dy-bash-5.1-p16/bin/bash”
> installing
> Installing SDK release from directory.
> daml: HTTP connection failed
> context: Installing extracted SDK release.
> details: HttpExceptionRequest Request {
> host = “api.github.com
> port = 443
> secure = True
> requestHeaders = [(“Accept”,“application/vnd.github+json”),(“User-Agent”,“Daml-Assistant/0.0”)]
> path = “/repos/digital-asset/daml/releases”
> queryString = “?per_page=100”
> method = “GET”
> proxy = Nothing
> rawBody = False
> redirectCount = 10
> responseTimeout = ResponseTimeoutMicro 10000000
> requestVersion = HTTP/1.1
> proxySecureMode = ProxySecureWithConnect
> }
> (InternalException (HandshakeFailed (Error_Protocol (“certificate rejected: security: createProcess: posix_spawnp: failed (Undefined error: 0)”,True,CertificateUnknown))))
>
For full logs, run ‘nix-store -l /nix/store/cas54x54vffb503zh78f2k0z6jjz8n77-daml-sdk.drv’.