Yunohost won't start and I can't re install it

I accidentally tried to add a domain I use for a completely different website as one of my domains and now NGINX doesn’t load and if I run sudo nginx -t i get

nginx: [emerg] BIO_new_file(“/etc/yunohost/certs/”) failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(‘/etc/yunohost/certs/’,‘r’) error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

I can’t do anything since I can’t run yunohost and this file doesn’t even exist for me to delete. I even tried to install yunohost all over again but during the post installation I always get Error: Invalid Password

EDIT: Fixed my issue by doing sudo apt purge slapd and then doing the post installation again and installing all my apps again manually…