Skip to content

Barski-lab/get-certificate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python script to generate certificate for name.suffix.domain on Godaddy

  1. Clone the repository
   git clone https://github.com/Barski-lab/get-certificate.git --recursive
  1. Insall dependencies
   pip install godaddypy configparser
  1. Create configuration file
   [godaddy]           
   key=aaa
   secret=bbb
  1. Run python get_certificate.py --help to see the parameters to set.
   Python script to generate certificate for name.suffix.domain on Godaddy

   optional arguments:
     -h, --help                 show this help message and exit
     -c CONFIG, --config CONFIG Path to the godaddy configuration file
     -n NAME,   --name   NAME   Host's name. Default - random 32-character string
     -i IP,     --ip     IP     Host's IP address
     -s SUFFIX, --suffix SUFFIX Host's suffix
     -d DOMAIN, --domain DOMAIN Host's domain
     -o OUTPUT, --output OUTPUT Output folder. Default - ./cert