Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
' admin trust anchors.' +
' The directory %s was not found' % \
global_trust_dir)
+ except FileExistsError:
+ # If we're simply downloading a renewed cert, the symlink
+ # already exists. Ignore the FileExistsError. Preserve the
+ # existing symlink in the unapply data.
+ data['files'].append(dst)
else:
logger.warn('sscep is not installed, which prevents the installation' +
' of the root certificate chain.')