How to generate LetsEncrypt SSL for user accounts in cli mode?

mbsmt

Verified User
Joined
Jul 24, 2013
Messages
138
Location
Mashhad, Iran
Hey guys.
I want to generate SSL for user accounts by CLI. I found this link which creates a SSL for hostname.
May you help me to do the same thing for user accounts please? Also, please let me know what steps are required after generating SSL in DA?
 
I wanted to create a SSL for new account and its domain automatically, so I added this line to user_create_post.sh:
Bash:
sleep 10
sh /usr/local/directadmin/scripts/letsencrypt.sh request ${domain} 4096
But even after 10 second of delay, I found out that SSL is not generated. After that, I ran the same code myself and SSL generated without issue. Do you know how can I postpone some commands after executing the user_create_post.sh?
 
Back
Top