- Run command window using administrator rights (Right click "Command Window" icon and click on "Run as administrator" menu)
net stop http /y
sc config http start= disabled
net stop http /y
sc config http start= disabled
vi /var/lib/pgsql/data/pg_hba.conf
host all all [REMOTE MACHINE IP ADDRESS]/24 trust
vi /var/lib/pgsql/data/postgresql.conf
listen_addresses = '*'
service postgresql restart
iptables -A INPUT -p tcp -s 0/0 --sport 1024:65535 -d [REMOTE MACHINE IP ADDRESS] --dport 5432 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp -s [REMOTE MACHINE IP ADDRESS] --sport 5432 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT
curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: http://curl.haxx.se/docs/sslcerts.html curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
HTTP/1.1 200 OK Date: Thu, 24 Apr 2014 07:48:22 GMT Server: Apache/2.2.15 (Red Hat) X-Powered-By: PHP/5.3.3 Set-Cookie: PHPSESSID=lim3eoqjrs75cnn72tk2pdp910; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: SMP_PERMAUTH=deleted; expires=Wed, 24-Apr-2013 07:48:21 GMT Connection: close Content-Type: text/html; charset=UTF-8
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
extension=php_openssl.dll
<VirtualHost _default_:443> # General setup for the virtual host DocumentRoot "c:/wamp/www" ServerName localhost:443 ServerAdmin admin@example.com ErrorLog "[WAMP_HOME]/logs/apache_ssl_error.log" TransferLog "[WAMP_HOME]/logs/access_ssl.log" </VirtualHost>
SSLCertificateFile "[CERTIFICATE_FILE]" SSLCertificateKeyFile "[CERTIFICATE_KEY_FILE]" SSLCertificateChainFile "[CERTIFICATE_CHAIN_FILE]"
httpd -t
AH00526: Syntax error on line 76 of C:/wamp/bin/apache/Apache2.4.4/conf/extra/ht tpd-ssl.conf: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
httpd -t
(OS 3)The system cannot find the path specified. : AH02297: Cannot access direc tory 'C:/Apache24/logs/' for log file 'c:/Apache24/logs/ssl_request.log' defined at C:/wamp/bin/apache/Apache2.4.4/conf/extra/httpd-ssl.conf:250 AH00014: Configuration check failed
CustomLog "[WAMP_HOME]/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"