Automatically move signed/revoked certificate to the appropriate folder

Change-Id: I6fee2a4098af7289e98d06e1dcf4f89b6adeb3dc