diff --git a/docker/immich_auto_album.sh b/docker/immich_auto_album.sh
index bde12b7..0f31a69 100644
--- a/docker/immich_auto_album.sh
+++ b/docker/immich_auto_album.sh
@@ -38,6 +38,10 @@ if [ ! -z "$LOG_LEVEL" ]; then
     args="-l $LOG_LEVEL $args"
 fi
 
+if [ "$INSECURE" = "true" ]; then
+    args="-k $args"
+fi
+
 
 BASEDIR=$(dirname "$0")
 echo $args | xargs python3 -u $BASEDIR/immich_auto_album.py
\ No newline at end of file