Tag Archives: ssl

Openssl is not recognized as an internal or external command

Questions: I wish to generate an application signature for my app which will later be integrated with Facebook. In one of Facebook’s tutorials, I found this command: keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64 In the tutorial, it says that by running this cmd, my process of generating the… Read More »

java – ignore expired ssl certificate

Questions: URL myUrl = new URL(“https://www…..”); SSL Certificate of website is expired. How to avoid it and make URL() work ? Answers: You should build a TrustManager that wraps the default trust manager, catches the CertificiateExpiredException and ignores it. Note: as detailed in this answer, whether or not this is secure is very much implementation… Read More »

Is there referrer header while using SSL?

Questions: Is there referrer header within domain while using SSL? Answers: If a website is accessed from a HTTP Secure (HTTPS) connection and a link points to anywhere except another secure location, then the referrer field is not sent. The upcoming standard HTML5 will support the attribute/value rel = “noreferrer” in order to instruct the… Read More »

Change Password in Active Directory using LDAP/PHP/IIS/SSL

Questions: First of all, this may be less of a programming question and more of a how do I configure LDAPS question, but here goes… Background Info: I have two Windows 2008 R2 servers. One is a domain controller (DC) with Active Directory (AD) that I want to communicate with via LDAP. This one is… Read More »

Alternative to SSL – “Manual” Encryption?

Questions: I would like to encrypt data that travels back and forth between the server and client in my Web application. I would use SSL but that requires a certificate along with a dedicated IP address. I have no problem getting a certificate but the dedicated IP requires me to upgrade to a business hosting… Read More »

Redirect to 'www' before ssl requirement

Questions: Problem I currently have the problem where https://domain.com does not redirect to https://www.domain.com and shows an untrusted ssl certificate. This is Related to which is a ruby-on-rails solution redirect to 'www' before force_ssl Question Is there a way to redirect to the www domain before the SSL requirement kicks in? I am using PHP.… Read More »

SSL error can not change to TLS

Questions: I have been working for quite some time on a website that highly depends on Paypal working properly on it. Without it, it is really useless. Around 1 in the morning my time (I am at CET timezone) everything working perfectly, I polished up the code, functions and it was working as it should.… Read More »