-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hostname "domainname.com" does not match the server certificate #12
Comments
Try setting your Should say
Nope, not at all! |
I did ctrl+c as it repeats 404 error. For your info I didn't add any certificate to my domain name. Do I need to add certificate? I didn't go to letsencrypt site and not configured anything...Do I need to go certbot.eff.org |
It's checking for the challenge to be there... looks like it's still not. Do you have gitlab CI setup such that pushing to
Don't need to do any of that, that's what this plugin is for :) |
How to do it? |
Ah yes, this plugin handles all of the letsencrypting/cert-grabbing for you, but first you have to have Gitlab CI set up such that pushes to Try one of these tutorials:
Once you get to the point where pushing new code to |
Okey, As a newbie I have some confusion. Following is my .gitlab-ci.yml
Is it enough? _config.yml
pipeline job
Thanks. |
Previously this domain connected to firebase and I didn't disconnect it |
That looks like it should work now.. if you rerun the |
I think I got something.... jekyll-gitlab-letsencrypt gem is not installing in pipeline...!! And my gemfile and config file are in not configured state. I mean changes in local not affected remote repo. Do I need to commit and push before jekyll letsencrypt command? |
File is in root folder and permalink is Any problem? |
That's ok - you run that locally, it doesn't need to be installed in the pipeline; the pipeline builds the actual jekyll blog and publishes it live, but this plugin kicks off a pipeline
Commit and push any changes needed to get your blog to build.. but
Is it live on your site? |
Means? please look into files. https://drive.google.com/file/d/1N2RvbRtUzimrQ2twdnkCdfZUEgknxpvl/view?usp=sharing site is justinechacko.in |
HI @JustinAiken , What step I am missing?? |
Removing this gem/plugin from the equation for a moment..
|
That looks like it should be good.. Now locally (make sure you're up-to-date with
|
Hi thanks for reply. Newly added page means letsencrypt.html? |
Er yeah, |
There is
But at http:https://justinechacko.in/.well-known/acme-challenge/xNwynQAyZHTpbbuVgJS22lKcg8XkWKcglm_emfYJDEI I get a 404 page my .gitignore file
I removed line |
|
Yay! I think it is working now.!!
Do I need to redirect http to https? As I don't get https without typing https before my domain. Also Can I have ssl to my subdomain also like http:https://songs.justinechacko.in Thanks. |
🎊
Gitlab doesn't currently support server-side redirects to https (it's supposedly coming sometime soon). You can do a JS-side redirect; on my site I have this in my default layout: <script>
// Hacky https redirect since gitlab pages doesn't support true 301's yet:
var host = "justinaiken.com";
if ((host == window.location.host) && (window.location.protocol != 'https:')) {
window.location = window.location.toString().replace(/^http:/, "https:");
}
</script>
#10 requests that, but I probably won't add multiple domain support myself.. |
Can I add ssl manually to subdomain by following This tutorial |
Closing as resolved... |
Can I use same email address for subdomain too |
Yep, email really isn't that important |
I followed set up instructions. When I issue bundle exec jekyll letsencrypt I got like below
Where is the server certificate, I am a newbie, do I need to install https://github.com/rolodato/gitlab-letsencrypt
The text was updated successfully, but these errors were encountered: