Hello, that is more an OS question than vagrant.
Not sure what OS nor web server you are using. Buts plenty of information on blogs for all the combinations. If you share OS and web server, maybe someone can help. Alvaro On Thu, Jul 28, 2016 at 2:45 AM, Marcelo Villela Gusmão < [email protected]> wrote: > How can I do that? > > I need to install a SSL certificate in my local Vagrant? > > On Wednesday, July 27, 2016 at 11:44:22 AM UTC-3, Alvaro Miranda Aguilera > wrote: >> >> Hello, >> >> http port is 80, https is 443 >> >> as you can see there is nothing on 443. >> >> so you need to check how to enable ssl >> >> Hope this helps >> >> Alvaro >> >> On Thu, Jul 28, 2016 at 2:32 AM, Marcelo Villela Gusmão < >> [email protected]> wrote: >> >>> OK, here is the output. I hope doing correct: >>> >>> vagrant@scotchbox:~$ netstat -anp | grep -i listen >>> (No info could be read for "-p": geteuid()=1000 but you should be root.) >>> tcp 0 0 0.0.0.0:22 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 127.0.0.1:5432 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 127.0.0.1:11300 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 127.0.0.1:27017 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 127.0.0.1:3306 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 0.0.0.0:6379 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 127.0.0.1:11211 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 0.0.0.0:49325 0.0.0.0:* >>> LISTEN - >>> tcp 0 0 0.0.0.0:111 0.0.0.0:* >>> LISTEN - >>> tcp6 0 0 :::22 :::* >>> LISTEN - >>> tcp6 0 0 :::46650 :::* >>> LISTEN - >>> tcp6 0 0 :::6379 :::* >>> LISTEN - >>> tcp6 0 0 :::111 :::* >>> LISTEN - >>> tcp6 0 0 :::80 :::* >>> LISTEN - >>> unix 2 [ ACC ] STREAM LISTENING 7855 - >>> /tmp/mongodb-27017.sock >>> unix 2 [ ACC ] STREAM LISTENING 9253 - >>> /var/run/php5-fpm.sock >>> unix 2 [ ACC ] STREAM LISTENING 7983 - >>> /var/run/mysqld/mysqld.sock >>> unix 2 [ ACC ] STREAM LISTENING 9281 - >>> /var/run/postgresql/.s.PGSQL.5432 >>> unix 2 [ ACC ] STREAM LISTENING 6978 - >>> @/com/ubuntu/upstart >>> unix 2 [ ACC ] STREAM LISTENING 7294 - >>> /run/rpcbind.sock >>> unix 2 [ ACC ] STREAM LISTENING 8839 - >>> /var/run/dbus/system_bus_socket >>> unix 2 [ ACC ] SEQPACKET LISTENING 1947 - >>> /run/udev/control >>> unix 2 [ ACC ] STREAM LISTENING 9169 - >>> /var/run/acpid.socket >>> >>> >>> >>> On Wednesday, July 27, 2016 at 11:25:58 AM UTC-3, Alvaro Miranda >>> Aguilera wrote: >>>> >>>> Hi >>>> >>>> from guest: >>>> >>>> netstat -anp | grep -i listen >>>> >>>> Thanks >>>> Alvaro >>>> >>>> On Thu, Jul 28, 2016 at 1:48 AM, Marcelo Villela Gusmão < >>>> [email protected]> wrote: >>>> >>>>> Hello Alvaro >>>>> >>>>> Here is my Vagrantfile >>>>> >>>>> # -*- mode: ruby -*- >>>>> # vi: set ft=ruby : >>>>> >>>>> Vagrant.configure("2") do |config| >>>>> >>>>> config.vm.box = "scotch/box" >>>>> config.vm.network "private_network", ip: "xxx.xxx.xx.xx" >>>>> config.vm.hostname = "scotchbox" >>>>> config.vm.synced_folder ".", "/var/www", :mount_options => >>>>> ["dmode=777", "fmode=666"] >>>>> >>>>> # Optional NFS. Make sure to remove other synced_folder line too >>>>> #config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options >>>>> => ["dmode=777","fmode=666"] } >>>>> >>>>> end >>>>> >>>>> And here is vagrant share output log >>>>> >>>>> ==> default: Detecting network information for machine... >>>>> default: Local machine address: xxx.xxx.xx.xx >>>>> default: Local HTTP port: 80 >>>>> default: Local HTTPS port: 443 >>>>> ==> default: Checking authentication and authorization... >>>>> ==> default: Creating Vagrant Share session... >>>>> default: Share will be at: shocking-sheep-3356 >>>>> ==> default: Your Vagrant Share is running! Name: shocking-sheep-3356 >>>>> ==> default: URL: http://shocking-sheep-3356.vagrantshare.com >>>>> >>>>> This help? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Wednesday, July 27, 2016 at 10:40:35 AM UTC-3, Alvaro Miranda >>>>> Aguilera wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> Can you share output log from vagrant share and Vagrant file? >>>>>> >>>>>> From guest, share also netstat -anp (assuming linux) >>>>>> >>>>>> Feel free to remove anything you wont like to share over the email. >>>>>> >>>>>> Thanks >>>>>> Alvaro. >>>>>> >>>>>> On Thu, Jul 28, 2016 at 12:00 AM, Marcelo Villela Gusmão < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> When I run vagrant share --https 443, http version works fine. >>>>>>> >>>>>>> >>>>>>> But when I try to access https version, a blank screen appears. >>>>>>> >>>>>>> >>>>>>> Header return an 500 Internal Server Error >>>>>>> >>>>>>> -- >>>>>>> This mailing list is governed under the HashiCorp Community >>>>>>> Guidelines - https://www.hashicorp.com/community-guidelines.html. >>>>>>> Behavior in violation of those guidelines may result in your removal >>>>>>> from >>>>>>> this mailing list. >>>>>>> >>>>>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues >>>>>>> IRC: #vagrant on Freenode >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Vagrant" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/vagrant-up/c05e8d7c-46c6-43b0-a7d6-b8f8983c14df%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/vagrant-up/c05e8d7c-46c6-43b0-a7d6-b8f8983c14df%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>> This mailing list is governed under the HashiCorp Community Guidelines >>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in >>>>> violation of those guidelines may result in your removal from this mailing >>>>> list. >>>>> >>>>> GitHub Issues: https://github.com/mitchellh/vagrant/issues >>>>> IRC: #vagrant on Freenode >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Vagrant" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/vagrant-up/abd9ee5f-5034-42c1-9303-ed8869e44898%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/vagrant-up/abd9ee5f-5034-42c1-9303-ed8869e44898%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> This mailing list is governed under the HashiCorp Community Guidelines - >>> https://www.hashicorp.com/community-guidelines.html. Behavior in >>> violation of those guidelines may result in your removal from this mailing >>> list. >>> >>> GitHub Issues: https://github.com/mitchellh/vagrant/issues >>> IRC: #vagrant on Freenode >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Vagrant" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/vagrant-up/e12bffb2-b067-459f-aa6a-4cfd9e999f0c%40googlegroups.com >>> <https://groups.google.com/d/msgid/vagrant-up/e12bffb2-b067-459f-aa6a-4cfd9e999f0c%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/0c260760-f997-497f-8c37-140e71f2b2b7%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/0c260760-f997-497f-8c37-140e71f2b2b7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewdBR2sq%2B2s%2BFCvruxvKwhSZ8L8%2BzqhiGeTx%2BwPHSoEjA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
