Advertisement
munsking

virtualminIRC

Jul 6th, 2017
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. [12:56] munsking and do you know how to fix that ssl virtualhost IP thing?
  2. [12:56] unborn to be honest I did not understand the question.. that is why i did not interact
  3. [12:56] munsking ok
  4. [12:57] unborn what happens if you do enable ssl for domain and then do let's encrypt ssl
  5. [12:57] unborn ?
  6. [12:57] munsking that seems to work fine, but i get an error in the browser, something about the cert being too long
  7. [12:57] munsking wait let me create a new virtual server
  8. [12:58] unborn ah.. is it possible to give out link? so i or others can possibly check it out? oh okay, it would be great if you can give exact error message you have.
  9. [12:59] munsking that's why i'm creating a new one
  10. [13:00] unborn sure Ill wait
  11. [13:02] munsking ok weird, now i'm getting the cert from another subdomain...
  12. [13:02] munsking vps.munsking.com is the new one
  13. [13:03] unborn you could create subdomain (subserver) and record screen when you enable ssl , request cert from let's encrypt and then access it from browser.. if you want or just give output of your browser error.. I think its some small issue we can trouble shoot this one
  14. [13:04] unborn munsking: okay its giving me warning right a way
  15. [13:04] munsking i don't have a subserver template set up though, i just create new top level servers
  16. [13:04] munsking yea but that's not the warning i got before
  17. [13:04] unborn okay
  18. [13:05] unborn SSL verification issue (Possibly mis-matched URL or bad intermediate cert.). Details:
  19. [13:05] unborn ERROR: no certificate subject alternative name matches
  20. [13:06] munsking ok, now i changed the apache vhost conf manually
  21. [13:06] unborn when you do let's encrypt for that domian.. make sure only vps.munsking.com and www.vps.munsking.com are on list then re-request the ssl cert from let's encrypt
  22. [13:06] unborn okay whatever you have done its now secured
  23. [13:07] munsking i also have autoconfig and autodiscover .vps.munsking.com on that list, but that should be fine, there's nothing on there that doesn't end with vps.munsking.com
  24. [13:07] unborn and also seen 403
  25. [13:07] unborn which means there is no index file
  26. [13:07] unborn which is correct
  27. [13:07] munsking yea that's fine
  28. [13:07] munsking http://i.imgur.com/l8oRXIi.png
  29. [13:07] unborn that is how it supposed to be
  30. [13:07] unborn checking the img
  31. [13:08] munsking that *:443 used to be the IP:443, and that causes errors somehow
  32. [13:08] unborn ah I now understand what you mean
  33. [13:08] unborn hold on let me check it on my server
  34. [13:08] munsking kinda annoying to have to change that manually (or write my own script for it), i think there should be a setting somewhere
  35. [13:09] |<-- Twinkletoes has left freenode (Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805])
  36. [13:12] unborn well
  37. [13:12] unborn on my one is like this: <VirtualHost 192.168.1.139:443>
  38. [13:12] munsking for me it was my public IP
  39. [13:13] munsking which gets natted to a 172.31 addr
  40. [13:13] munsking so maybe that's where the conflict is
  41. [13:13] unborn perhaps its ubuntu thingy.. but I think you can edit this.. I remember to done this for one of my clients by editing some template or skel or whatever/whenever it was but that was on 12.04 and since he had other issues he changed the distro
  42. [13:13] unborn yes you should have public ip there.. I am hosting my sites from home
  43. [13:14] unborn don't pay any hosting company for server means I am behind nat
  44. [13:14] munsking well, time to make a snapshot in case i can't connect afterwards
  45. [13:16] unborn perhaps you may try another distro with gpl in virtualbox
  46. [13:16] unborn I had thoubles with ubuntu since v 12.04 when I tried it for server but I am not saying its bad.
  47. [13:17] munsking i can't recreate my setup at home sadly, and i can only create 4 snapshots of my live server which are all used, so i'm not going to reinstall that
  48. [13:17] unborn try centos and if its not your cup of tea try debian.. ubuntu is based on debian but its not debian
  49. [13:17] unborn I see, well have look at server templates or skell scripts
  50. [13:17] munsking first i'm going to do that IP thing
  51. [13:17] unborn skell.. - perhaps it calls like it
  52. [13:17] unborn
  53. [13:18] unborn or create bash running every few minutes going via those .conf file in apacha settings and if found *:443 replace with your public-ip:443
  54. [13:18] unborn line you know se right?
  55. [13:19] unborn that bash script with combination of cron should solve tmporary your issue
  56. [13:19] unborn its just ubuntu way
  57. [13:20] munsking better to let virtualmin control it i think, otherwise i might as well go back to how i had it before
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement