aboutsummaryrefslogtreecommitdiff
path: root/myrpki/myrpki.py
diff options
context:
space:
mode:
Diffstat (limited to 'myrpki/myrpki.py')
-rw-r--r--myrpki/myrpki.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/myrpki/myrpki.py b/myrpki/myrpki.py
index 47980161..724a4c52 100644
--- a/myrpki/myrpki.py
+++ b/myrpki/myrpki.py
@@ -311,7 +311,8 @@ class CA(object):
return None
if not os.path.exists(cert):
- raise RuntimeError, "PEM file %r does not exist" % (cert,)
+ print "Certificate %s doesn't exist, skipping" % cert
+ return None
# Extract public key and subject name from PEM file and hash it so
# we can use the result as a tag for cross-certifying this cert.