• 9 odgovora
  • 2.970 pregleda
Apache OpenSSL, nije moguc pristup preko https-a 30.11.2011. u 16:14 · pre 181 meseci #1
Pozdrav svima!

Na CentOS 5.6 instaliran Apache i openSSL i konfigurisan SSL:
openssl s_client -connect localhost:443 -showcerts
dobijam odgovor, medjutim sa:
openssl s_client -connect www.mojsajt.com:443 -showcerts
socket: Connection refused
connect:errno=29

nisam u mogucnosti da pristupim sajtu sa spoljne strane.
u firewall-u otvoren port, cak sam ga bi ugasio i ipak nista.

kofiguracija je izvrsena na ovaj nacin.


Hvala unapred!

Potpis
NeverHood
Re: Apache OpenSSL, nije moguc pristup preko https-a 30.11.2011. u 19:39 · pre 181 meseci #7
sestatus:


SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted

Process contexts:
Current context: user_u:system_r:unconfined_t
Init context: system_u:system_r:init_t
/sbin/mingetty system_u:system_r:getty_t
/usr/sbin/sshd system_u:system_r:unconfined_t:SystemLow-SystemHigh

File contexts:
Controlling term: user_u:object_r:devpts_t
/etc/passwd system_u:object_r:etc_t
/etc/shadow system_u:object_r:shadow_t
/bin/bash system_u:object_r:shell_exec_t
/bin/login system_u:object_r:login_exec_t
/bin/sh system_u:object_r:bin_t -> system_u:object_r:shell_exec_t
/sbin/agetty system_u:object_r:getty_exec_t
/sbin/init system_u:object_r:init_exec_t
/sbin/mingetty system_u:object_r:getty_exec_t
/usr/sbin/sshd system_u:object_r:sshd_exec_t
/lib/libc.so.6 system_u:object_r:lib_t -> system_u:object_r:lib_t
/lib/ld-linux.so.2 system_u:object_r:lib_t -> system_u:object_r:ld_so_t

Hvala!
Potpis
NeverHood
Re: Apache OpenSSL, nije moguc pristup preko https-a 01.12.2011. u 06:58 · pre 181 meseci #10
Ljudi hvala Vam lepo na pomoci naucio sam korisne stvari. Problem je resen.
Zatvorili su mi port na routeru iz bezbednosnih razloga a naravno nemam direktan pristup routeru... da vas ne zamaram detaljima.

Hvala vam jos jednom!

P.S.:ukljucio sam i SELinux ponovo, koji po ovim podesavanjima izgleda da ne blokira https.

[Ovu poruku je menjao *Winy* dana 01.12.2011. u 08:30 GMT+1]
Potpis
NeverHood
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme