Use newer Certificate.serial_number in krainstance.py

Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Stanislav Laznicka authored and Martin Basti committed 2017-02-23 10:14:04 +01:00
1 parent 8bac62b7f5
commit 8c2cd66269
1 file changed
+1 -1
+1 -1
View File
@@ -313,7 +313,7 @@ class KRAInstance(DogtagInstance):
usertype=["undefined"],
userCertificate=[cert_data],
description=['2;%s;%s;%s' % (
cert.serial,
cert.serial_number,
DN(self.subject),
DN(('CN', 'IPA RA'), self.subject_base))])
conn.add_entry(entry)