I have a lot of website in Classic asp so i have to ennable SSL automatically i dont know hot to enable SSL automatically>
Case 1: I have use main and domain in this case i will use “Wild card” SSl but i gave option to my client to choose domain name in that case i have to poit out my subdomain to my client domain in that case how to auto enable my SSL? please give some advise
The client would need to obtain a cert that covers your name (the one that you pointed to their name).
[or both names, yours and theirs]
That is obtained as any other cert would be obtained - no extra complication.
To automate the renewals, they would need to find a client that can work in their system.
that’s not a question of your programming language.
That’s a question of your environment.
Please answer the following questions:
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):
Sounds like you’re looking for a way to force HTTP to HTTPS redirect, which is a server configuration issue as opposed to a Certificate issue. If you answer the questions posted by @JuergenAuer, we can better direct you how to accomplish that.
Re-reading & re-reading to make sure I understand what you’re trying to accomplish.
If you’re using a CNAME like @rg305 is stating, then the host you’re pointing to needs to have an entry to handle the traffic for your subdomain. If you do not control the server it points to, then you have to get ahold of whoever controls the server to provide them with the cert.
However, if you set an A record for it to point to your server, you can set up the Certificate on the server & redirect it out that way. If you want to automate it, you’d have to write a script to pull data from your customer database & pass them into a configuration file.