Cert_Tools command not found error while running create-certificate-template [RESOLVED]


I am trying to generate certificates using cert tools. while running below command I am facing issue. Please help me on this

create-certificate-template -c conf.ini

govind@govind-VirtualBox:~/cert-tools$ create-certificate-template -c conf.ini
create-certificate-template: command not found


Did you run through the install instructions? create-certificate-template should be a valid command once you do. I find that creating a virtual env helps, not sure if you’re using one here.


Thanks aronnimg. NOw i am no more getting the issue. but different error now related to python. Is this anything to do with python version?

(venv) govind@govind-VirtualBox:~/blockchain/cert-tools$ create-certificate-template -c conf.ini
Traceback (most recent call last):
File “/home/govind/blockchain/venv/bin/create-certificate-template”, line 6, in
from cert_tools.create_v2_certificate_template import main
File “/home/govind/blockchain/venv/local/lib/python2.7/site-packages/cert_tools/create_v2_certificate_template.py”, line 12, in
from cert_tools import helpers
File “/home/govind/blockchain/venv/local/lib/python2.7/site-packages/cert_tools/helpers.py”, line 5, in
from datetime import datetime, timezone
ImportError: cannot import name timezone


Please ignore this… Issue resolved and i am able to generate certificates