diff --git a/package/network/ipv6/6in4/files/6in4.sh b/package/network/ipv6/6in4/files/6in4.sh
index 45d8ab75ad4d52ab5021c4baf0f96b3c6c124ffa..786f37fc14c81d8f58d0da32626eb91082192c15 100755
--- a/package/network/ipv6/6in4/files/6in4.sh
+++ b/package/network/ipv6/6in4/files/6in4.sh
@@ -84,7 +84,7 @@ proto_6in4_setup() {
 		local http="http"
 		local urlget="uclient-fetch"
 		local urlget_opts="-qO-"
-		local ca_path="${SSL_CERT_DIR-/etc/ssl/certs}"
+		local ca_path="${SSL_CERT_DIR:-/etc/ssl/certs}"
 
 		[ -f /lib/libustream-ssl.so ] && http=https
 		[ "$http" = "https" -a -z "$(find $ca_path -name "*.0" 2>/dev/null)" ] && {