Help setting up certificate for wordpress

Hey I created a wordpress multisite website and had a lets crypt SSL installed for my main domain akashphotography.com
I created a sub-domain www.inoroutproject.akashphotography.com but it does not open and shows an error message saying certificate invalid.
I need hep in creating a wildcard cert. for my subdomain.

no, you do not.

you need to install a certificate on your subdomain just like you installed on your main domain. follow the same instructions, but instead of telling certbot your domain is akashphotography.com, you will tell it your domain is www.inoroutproject.akashphotography.com,inoroutproject.akashphotography.com

Or maybe you do. How did you install the ssl certificate on your main website?

I actually followed a youtube video for SSL installation

But couldn’t find anything to have a wildcard certificate for the subdomain. I tried installing certbot and running commands in the SSH pannel. I installed the certbot and tried creating the wildcard certificate but it says command not found or permission denied.

Welcome to the community forum @Akash6781!

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

1 Like

My domain name is akashphotography.com and my subdomain is inoroutproject.akashphotography.com

I hate this. People making videos because writing is hard. Yeah, so is listening.

Start reading here: Administration

(You most probably just need to rerun the bitnami cert tool -- how to get a wildcard is explained under "alternative approach")

Yes i did it but it says permission denied

i ran the command
sudo /opt/bitnami/letsencrypt/scripts/generate-certificate.sh -m pamart
hyakash11@gmail.com -d *.akashphotography.com -d inoroutproject.akashphotography.com

/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
2020/04/22 05:16:04 No key found for account pamarthyakash11@gmail.com. Generating a P384 key.
2020/04/22 05:16:04 Saved key to /opt/bitnami/letsencrypt/accounts/acme-v02.api.letsencrypt.org/pamarthyakash11@gmail.com/keys/pamarthyakash11@gmail.com.key
2020/04/22 05:16:04 Please review the TOS at https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Do you accept the TOS? Y/n
y
2020/04/22 05:16:09 [INFO] acme: Registering account for pamarthyakash11@gmail.com
!!! HEADS UP !!!

            Your account credentials have been saved in your Let's Encrypt
            configuration directory at "/opt/bitnami/letsencrypt/accounts".
            You should make a secure backup of this folder now. This
            configuration directory will also contain certificates and
            private keys obtained from Let's Encrypt so making regular
            backups of this folder is ideal.2020/04/22 05:16:09 [INFO] [*.akashphotography.com, inoroutproject.akashphotography.com] acme: Obtaining bundled SAN certificate

2020/04/22 05:16:09 Could not obtain certificates:
acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:malformed :: Error creating new order :: Domain name “inoroutproject.akashphotography.com” is redundant with a wildcard domain in the same request. Remove one or the other from the certificate request., url:

Error: Something went wrong when running the following command:

$ “LEGO_BIN" --path "/opt/bitnami/letsencrypt" --tls --email="{email}” ${domain_args} run
I need help creating an SSL for my subdomain

what you need to do is quite clear.

have you read on the dns-01 challenge? You need to do so.

and check your flags for lego: https://github.com/go-acme/lego/blob/master/README.md

Actually I not into coding at all. It is very confusing and i’m not able to find the right solution.
My host server is Google Cloud platform and there is no example given for it.

You can’t do this stuff if you don’t understand what it means.

You have two options: study and understand what you need to do, or find someone else to do it for you (probably someone else who gets paid)


@Akash6781: I understand it’s difficult to get into a new field and learn about it. It is frustrating, it is hard, but at the end you learn, you realize it will only be hard the first time, and you learn again.

And we can help you understand. But we can’t do the understanding for you, that would be pointless.

I have an important suggestion for you, though: finding the right documentation and ignoring tutorials on the internet is the most important thing you can do, right now.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.