Hi people
I have other question, I am implementation cert tools in my web site like this:
import certTools
in my function
@app.route(‘generate-cert’, methods=[‘GET’,‘POST’])
def generatecert()
“”" with this line, I try replace the command line create-certificate-template -c conf.ini
in create_v2_certificate_template.py file in function get_config() I changed
this line
base_dir = os.path.abspath(os.path.join(os.path.dirname(file), os.pardir))
p = configargparse.getArgumentParser(default_config_files=[os.path.join(base_dir, ‘/home/ngel/Documents /Projects/accreditablockcertalfa/certTools/conf.ini’)])
“”"
func_run = certTools.create_v2_certificate_template
return ‘ok’
and show me this error like this:
do you know,what file I can use for replace command console please, I want replace this create-certificate-template -c conf.ini, for one function like above in my function.
regards
Angel