Fix 1) der sequence bug, 2) self-sign bug, 3) allow certificate to copy from a data
Fix sqlite static transient issue, not self-sign works
add another pair of sign functions in IdentityManager
Identity Manager is working