Commit 58837efe authored by Larbi Gharib's avatar Larbi Gharib
Browse files

Fix renew expired certificate CN

Change-Id: If4ca08562dad1220c9376c1cce4818bfa18afeb4
parent 67467cc3
......@@ -70,6 +70,8 @@ public class RegisterDeviceFlow {
// Renew user certificate if expired with same private key
if(!user.getCertificate().getNotAfter().after(new Date())) {
user.setX509Fields(new X509Fields());
user = UserAuthenticationModule.certificateAuthority.getSignedCertificate(user);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment