ssl, https apache django

neodevsoft

59 Subscribers

861 views since Nov 26, 2023

Como habilitar cifrado ssl en https con apache y django
openssl genrsa -des3 -out server.key 4096
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
openssl rsa -in server.key -out server.key.insecure

a2enmod ssl
Listen 443
a2ensite ssl

NameVirtualHost *:443
SSLEngine on
SSLCertificateFile /etc/ssl/ssl/server.crt
SSLCertificateKeyFile /etc/ssl/server.key
DocumentRoot /var/www
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log

Como montar un servidor apache con aplicacion web django:    • Django deploy(Despliegue) en apache c...  

© Furr.pk

TermsPrivacy

[email protected]