Instead of specifying your localhost with gofashion_chat.test, just use computername.domain. This might be late but it is worth a try ^_^ server FQDN or YOUR name^)Įcho commonName_default = %HOSTNAME%.%DOT%Įcho authorityKeyIdentifier = keyid,issuerĮcho keyUsage = digitalSignature, keyEnciphermentĮcho subjectAltName = nsComment = "OpenSSL Generated Certificate" offĮcho countryName = Country Name ^(2 letter code^)Įcho stateOrProvinceName = State or Province Name ^(full name^)Įcho stateOrProvinceName_default = %STATE%Įcho localityName = Locality Name ^(eg, city^)Įcho organizationName = Organization Name ^(eg, company^)Įcho organizationName_default = %ORGANIZATION%Įcho commonName = Common Name ^(e.g. This is another I used to generate certificate. \%FULL_DOMAIN%Įcho subjectAltName = subjectKeyIdentifier = hashĮcho authorityKeyIdentifier = keyid:always, issuer:alwaysĮcho basicConstraints = critical, CA:TRUE, pathlen:1Įcho keyUsage = critical, cRLSign, digitalSignature, ke圜ertSignĮcho nsComment = "OpenSSL Generated Certificate"Ĭ:\xampp\apache\bin\openssl req -new -x509 -newkey rsa:2048 -sha256 -nodes -keyout %FULL_DOMAIN%\server.key -days 356 -out %FULL_DOMAIN%\server.crt -config %FULL_DOMAIN%\%HOSTNAME%.cnf SET OPENSSL_CONF=C:\xampp\apache\conf\openssl.cnf Set /p com_tld="Enter Domain TLD (E.g 'com', 'test'): " Set /p domain="Enter Domain without TLD (E.g 'facebook', 'google'): " This is my bat file which I used to generate certificate off How do I solve ssl issue across LAN? Edit: PC on LAN: host file: 192.168.10.7 gofashion_chat.test SSLCertificateKeyFile "C:/xampp/htdocs/gofashion/cert/gofashion_chat.test/server.key" My Local PC: host file: 127.0.0.1 gofashion_chat.test I don't want to host my website online because I'm in development mode. Because I'm using self-signed certificate I have to install certificate in every PC in which I'll open site but it's only working on PC in which website is hosted but not on other PC on LAN. I have localhost with ssl and working fine on my local pc but ssl doesn't work across LAN.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |