refactored CA core
fixed ca_signer.py
fixed utils/generate_cert