Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL - Problem bei Login, checkout, Kundenbereich


webinfo

Recommended Posts

Bei Aktivierung des SSL Zertifikats (Let´s encrypt it) werden die SSL Seiten korrekt aufgerufen.

Sobald es um den Kundenbereich geht (Login, Checkout, etc.) kann ich mich nicht einloggen.

Die configure.php scheint ok:

  define('HTTP_SERVER', 'http://www.domain.de');
  define('HTTPS_SERVER', 'https://domain.de');
  define('ENABLE_SSL', false);
  define('HTTP_COOKIE_DOMAIN', 'www.domain.de');
  define('HTTPS_COOKIE_DOMAIN', 'domain.de');
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');
  define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

Link to comment
Share on other sites

define('HTTP_SERVER', 'https://www.domain.de');
  define('HTTPS_SERVER', 'https://domain.de');
  define('ENABLE_SSL', true);
  define('HTTP_COOKIE_DOMAIN', 'www.domain.de');
  define('HTTPS_COOKIE_DOMAIN', 'domain.de');
  define('HTTP_COOKIE_PATH', '/');
  define('HTTPS_COOKIE_PATH', '/');
  define('DIR_WS_HTTP_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/'); 

So ist es richtig, deine configure.php ist falsch

  • The clever one learn from everything and from everybody
  • The normal one learn from his experience
  • The silly one knows everything better

[socrates, 412 before Christ]

Computers help us with the problems we wouldn't have without them!
99.9% of the bugs sit in front of the computer!
My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0

if(isset($this) || !isset($this)){ // that's the question...

 

Link to comment
Share on other sites

Vielen Dank für die Antwort.

Bei mir mußte es - warum auch immer - jedoch wie folgt heißen:

  define('HTTPS_COOKIE_DOMAIN', 'www.domain.de');

 

ohne www. funktionierte es nicht.

define('HTTPS_COOKIE_DOMAIN', 'domain.de');
Link to comment
Share on other sites

das ist schon okay, mal mit oder ohnen www. für die Cookies.

 

Wichtig sind dise Angaben:

define('HTTP_SERVER', 'https://www.domain.de');
define('HTTPS_SERVER', 'https://domain.de');
define('ENABLE_SSL', true);

Kannst auch das ENABLE_SSL auf false lassen, da die komplette Domain (HTTP_SERVER) https ist.

 

Nicht vergessen auch die configure.php im adminbereich zu ändern. Somit läuft alles unter HTTPS.

Edited by mcmannehan
  • The clever one learn from everything and from everybody
  • The normal one learn from his experience
  • The silly one knows everything better

[socrates, 412 before Christ]

Computers help us with the problems we wouldn't have without them!
99.9% of the bugs sit in front of the computer!
My programmed add-ons: WDW EasyTabs 1.0.3, WDW Facebook Like 1.0.0

if(isset($this) || !isset($this)){ // that's the question...

 

Link to comment
Share on other sites

×
×
  • Create New...