diff --git a/qa/qa_rapi.py b/qa/qa_rapi.py
index 887f3b71dd109fc249c2e867db2f246eda621e10..39b6e4bc7aa90ead1cb1952a5266833d4dd14c8b 100644
--- a/qa/qa_rapi.py
+++ b/qa/qa_rapi.py
@@ -76,7 +76,7 @@ def Setup(username, password):
   master = qa_config.GetMasterNode()
 
   # Load RAPI certificate from master node
-  cmd = ["cat", pathutils.RAPI_CERT_FILE]
+  cmd = ["cat", qa_utils.MakeNodePath(master, pathutils.RAPI_CERT_FILE)]
 
   # Write to temporary file
   _rapi_ca = tempfile.NamedTemporaryFile()