diff --git a/nixos/tests/test_privatestorage.py b/nixos/tests/test_privatestorage.py
index fdef4244785823a0e0d35e85a306cf3cff6b870b..df2aeb9372042d9368736579090e70ab90097f43 100644
--- a/nixos/tests/test_privatestorage.py
+++ b/nixos/tests/test_privatestorage.py
@@ -93,6 +93,9 @@ def test(
     # It should have Eliot logging turned on as well.
     storage.succeed('[ -e /var/db/tahoe-lafs/storage/logs/eliot.json ]')
 
+    # Make sure the issuer is ready to accept connections.
+    issuer.wait_for_open_port(80)
+
     #
     # Storage appears to be working so try to get a client to speak with it.
     #