diff --git a/Makefile b/Makefile
index 62c4af1ac2a3ad4424f3a1dee987af63da732e05..20b511e0d40f5dbd341543689653f55ae0bf1084 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ portable-release-tarball:
 	guix environment --container --network \
           --preserve=TARBALLS $(guix-share-tarball-arg) \
           --expose=/usr/bin/env \
-          --expose=$$SSL_CERT_FILE \
+          --expose=$$SSL_CERT_DIR=/etc/ssl/certs \
           --manifest=$(CURDIR)/guix/minimal-manifest.scm \
           -- $(MAKE) release-tarball