clean up log messages.
Make trust manager check trustanchor's keysize