Search the Community
Showing results for tags 'ssl'.
-
I implemented google's reCAPTCHA V2 on http:// on the remote apache shared server and it worked 100%. I then changed the protocol to my shared server SSL using the same PHP script as the non-SSL script. The older version of reCaptcha had an SSL 'false' to 'true' SSL parameter, whereas I can't find one for V2. I had to use htaccess to redirect the example.com to the shared SSL server https://serverid.net/example/ which works perfectly without recCAPTCHA. I incorporated reCAPTCHA V2 and the error message where the reCAPTCHA image should be shows "ERROR: Invalid domain for site key". Here's the htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*)example\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://servername.net/example/$1 [R,L] And the recaptchalib.php code in case that helps: https://github.com/google/ReCAPTCHA/blob/master/php/recaptchalib.php Anyone know how to make this work? (If this is not the right forum for this, please direct me to the appropriate one. Thx)
-
Seeking help setting up a secure page for Login and Registration Pages. The trouble I have is I have hosting on streamline.net my non secure site is on (http://www.teknikaltim.co.uk) but If I create a login page that has the action set to my ssl hosting (https://teknikaltim.ssl-01.com/) the links will break also I heard it's not good practice to encrypt every page due to loading times. I paid my hosting provider £30 for ssl and it's not working as I hoped it would IE have https://teknikaltim.co.uk/login/ . This is going to make keeping sessions between the secure pages and non secure pages difficult? Another Problem I have is the ssl site has PHP Version 5.1.2. And I have loads of classes that preferably I would only want to load the ones I need in an auto loader but I get an Unexpected Function or ( in init.php on line 17 for the time being I have changed the code to include the classes but not all. The pages I would like to make secure are: http://www.teknikaltim.co.uk/login http://www.teknikaltim.co.uk/register http://www.teknikaltim.co.uk/servicecalls they all transmit personal details i.e. Usernames, Names,Surnames,Email Addresses, passwords etc I am wanting to learn so not looking for someone to do it for me but to point me in the right direction Many thanks
-
Hey, I'm trying to pass get variables through an https ssl secured url to generate xml data so I can parse it and I'm not sure how to get it working. I have the following code, I have the url set up like this, $xml = ' weight_system="IMPERIAL" shipper_number="000222000" destination_postal_code="'.$data5['zip'].'" service_type="1" '; $xml2 = ' total_pieces="'.$value.'" total_weight="'.$weight.'" '; $token = 'token'; $base_url = 'https://www.shippingco.com/XML/RatingXML.jsp'; $request_url = $base_url . '?' . http_build_query(array( 'shipment' => '<shipment ' . $xml . '><total ' . $xml2 . '/></shipment>', 'token' => $token )); and I have an example of the xml data here, <rating xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.shippingco.com/XML/rating.xsd"> <rate weight="5.0" weight_unit="lb" zone="3" transit_time="1" transit_time_guaranteed="false" estimated_delivery_date="2013-07-26" base_charge="11.05" freight_charge="11.05"residential_address_charge="2.75" net_charge="13.80" fuel_surcharge_rate="15.8" fuel_surcharge="1.75" subtotal_charge="15.55" on_hst_charge="2.02" total_charge="17.57"/> </rating> I have an RSA key, SSL cert, CA bundle and a password and need to use that information to authenticate with the https url. What is the best working way to accomplish this?
-
Hey, I'd like to grab xml data by passing get variables through an https ssl secured url and then parse it. What would be the best way to go about doing that and is there a solid tutorial with step by step on how to do that? Thanks for your time!
-
I just purchased an SSL cert and dedicated IP and the way I set it up before was that I'd put this code at the top of each page, for non https pages: if ($_SERVER['SERVER_PORT']!=80) { $url = "http://".$_SERVER['SERVER_NAME'].":80".$_SERVER['REQUEST_URL']; header('Location: $url'); } for https pages if ($_SERVER['SERVER_PORT']!=443) { $url = "http://".$_SERVER['SERVER_NAME'].":443".$_SERVER['REQUEST_URL']; header('Location: $url'); } So doing that before was a big job because I had to go into every page add the code at the top and then save and upload to the server and now when trying to do that it doesn't seem to be working properly. But I did some searching and alot of people say that you don't need to set it up with any pages it needs to be setup on the server, so I really want to know how to do it that way. I couldn't find a tutorial on how to do this but If someone knows of one or knows how to accomplish setting up the SSL cert with a website and can give me steps on how that would be great. Pretty much I just want to have the login, register, forgot pass, account and shopping cart pages to all start with https and show that the pages are secured with the key or box in the url bar of the browser and all my backend pages to have that too and all the other pages just have http. Thanks for your time and help in advance.
-
Hi all, I've been trying to figure out a problem I've got with SSL. I have installed a certificate with the common name "*.dev.com" and it works for https://www.myserver.dev.com and https://myserver.dev.com. Common Name (e.g. server FQDN or YOUR name) []:*.dev.com The problem is when I try to post to https://www.myserver...dir/script.php. If a point the browser to this URL I get served the page but if I post within an iframe I get this: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed I've tried posting to: https://www.myserver.../dir/script.php and script.php Each time I get this error message. I can't see why, as far as I can tell this should work. Anyone got any ideas? Cheers, CaptainChainsaw