Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian Web Servers

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Debian Web Servers

#1 Post by user2635 »

I noticed that the when selecting the source for a debian web server (GUI), there's only an option for http.

Is this the case? What about https?
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)


User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: Debian Web Servers

#3 Post by user2635 »

Hi Garry, I'm referring to sources for repos, does that make more sense?

Jusr for general debian updates
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Debian Web Servers

#4 Post by GarryRicketson »

Not really, maybe if you tell us exactly what it is you are trying to do ?
I'm referring to sources for repos,
If you are looking for a mirror, for your sources.list file, ? there are some that are https, you just need to look for them, I found 1 for you.
You just need to look through the list
and find one that you want to use.

https://www.debian.org/mirror/list

1 that offers https:
Denmark ftp.dk.debian.org/debian/
http://ftp.dk.debian.org/debian/
Welcome to mirrors.dotsrc.org

All our mirrors of open source software are available via http, https and ftp. More information about our mirrors including statistics and contact information is available on our mirror info pages.

For information about dotsrc.org and our other services please go to our website.
https://mirrors.dotsrc.org/
========== edited ========
Hint, Howto, Tip:
Debian repositories that are https
===== lot's of hits ======
security - Why there is no https transport for debian apt tool? - Unix ...

https://unix.stackexchange.com/questions/90227/why-th... Proxy Highlight

11 Sep 2013 ... There is. You need to install the package apt-transport-https . Then you can use lines like deb https://some.server.com/debian stable main.
Debian -- Details of package apt-transport-https in sid

https://packages.debian.org/sid/apt-transport-https Proxy Highlight

Transitional package: curl-https download transport for APT.
SourcesList - Debian Wiki

https://wiki.debian.org/SourcesList Proxy Highlight

Below is an example of a sources.list for Debian 9/Stretch. ... deb http://deb. debian.org/debian stretch main contrib non-free ...
Debian worldwide mirror sites

https://www.debian.org/mirror/list Proxy Highlight

17 Feb 2017 ... ... this in your apt sources.list — consult the service's website for details. ... want to know about Debian mirrors: https://www.debian.org/mirror/.

Script to find official Debian mirrors that support HTTPS · GitHub

https://gist.github.com/eighthave/7285154 Proxy Highlight

print 'bad SSL!' # print 'HTTPS apt repos:'. #for url in https: # print url. # # find security mirrors. mirrors = urllib2.urlopen('http://www.debian.org/mirror/list-full').
from: http://httpredir.debian.org/
The redirection service is also available on HTTPS, so with the apt-transport-https package installed, you can use:

deb https://deb.debian.org/debian stable main
deb https://deb.debian.org/debian-security stable/updates main

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Debian Web Servers

#5 Post by debiman »

user2635 might be refering to tasksel?
just install whatever is labeled 'http' - my guess is it will install apache, mysql and php, and that certainly includes the possibility (as gricketson pointed out) of using https, aka ssl.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Debian Web Servers

#6 Post by GarryRicketson »

I am not sure what the OP is talking about really, in any event even using tasksel to install a webserver , it will not just automatically be https by default,
that has to be done after the basic webserver is installed.
(As far as I know) Any webserver, needs to be configured for https, after it is installed.
It does not matter if it is apache , httpd , nginx, etc. (tasksel will install apache2),
If the OP is looking for repositories / mirrors that are using, or offer a https connection, they need to find one, there are some. They also need to install
the apt-transport-https package https://packages.debian.org/search?keyw ... port-https

Post Reply