<script type="text/javascript">
window.addEvent('domready',function() {
document.id('vmCartModule').addEvent('mouseover',function() {
document.id('product_list').addClass('show_products');
});
document.id('vmCartModule').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
document.id('product_list').addEvent('mouseover',function() {
document.id('product_list').addClass('show_products');
});
document.id('product_list').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
document.id('vmCartModule').addEvent('click',function() {
document.id('product_list').addClass('show_products');
(function(){document.id('product_list').removeClass('show_products')}).delay(15000);
window.location.pathname='shop/cart';
});
document.id('product_list').addEvent('click',function() {
document.id('product_list').addClass('show_products');
(function(){document.id('product_list').removeClass('show_products')}).delay(15000);
window.location.pathname='shop/cart';
});
<?php
if(JRequest::getCmd('view')=='productdetails') {
}
?>
});
<script type="text/javascript">
window.addEvent('domready',function() {
document.id('vmCartModule').addEvent('mouseover',function() {
var InnerHTML = jQuery("#vm_cart_products .container").html();
if (InnerHTML.length != 0) {
document.id('product_list').addClass('show_products');
}
});
document.id('vmCartModule').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
document.id('product_list').addEvent('mouseover',function() {
var InnerHTML = jQuery("#vm_cart_products .container").html();
if (InnerHTML.length != 0) {
document.id('product_list').addClass('show_products');
}
});
document.id('product_list').addEvent('mouseout',function() {
document.id('product_list').removeClass('show_products');
});
document.id('vmCartModule').addEvent('click',function() {
document.id('product_list').addClass('show_products');
(function(){document.id('product_list').removeClass('show_products')}).delay(15000);
window.location.pathname='shop/cart';
});
document.id('product_list').addEvent('click',function() {
document.id('product_list').addClass('show_products');
(function(){document.id('product_list').removeClass('show_products')}).delay(15000);
window.location.pathname='shop/cart';
});
<?php
if(JRequest::getCmd('view')=='productdetails') {
}
?>
});
openssl s_client -starttls smtp -crlf -connect smtp.yandex.com:587
начало и конец сертификата сохраняем в в файле /etc/postfix/cacert.pem[smtp.yandex.ru]:587 user@domain:password
В итоге конфиг strongswan заработал следующий, может кому пригодится
/etc/ipsec.secrets:
: RSA /etc/ipsec.d/certs/Ключ сертификата клиента.pem
/etc/ipsec.conf:
config setup
strictcrlpolicy=no
conn %default
keyexchange=ikev2
ike=aes128-sha256-ecp256,aes256-sha384-ecp384,aes128-sha256-modp2048,aes128-sha1-modp2048,aes256-sha384-modp4096,aes256-sha256-modp4096,aes256-sha1-modp4096,aes128-sha256-modp1536,aes128-sha1-modp1536,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048,aes128-sha256-modp1024,aes128-sha1-modp1024,aes256-sha384-modp1536,aes256-sha256-modp1536,aes256-sha1-modp1536,aes256-sha384-modp1024,aes256-sha256-modp1024,aes256-sha1-modp1024!
esp=aes128gcm16-ecp256,aes256gcm16-ecp384,aes128-sha256-ecp256,aes256-sha384-ecp384,aes128-sha256-modp2048,aes128-sha1-modp2048,aes256-sha384-modp4096,aes256-sha256-modp4096,aes256-sha1-modp4096,aes128-sha256-modp1536,aes128-sha1-modp1536,aes256-sha384-modp2048,aes256-sha256-modp2048,aes256-sha1-modp2048,aes128-sha256-modp1024,aes128-sha1-modp1024,aes256-sha384-modp1536,aes256-sha256-modp1536,aes256-sha1-modp1536,aes256-sha384-modp1024,aes256-sha256-modp1024,aes256-sha1-modp1024,aes128gcm16,aes256gcm16,aes128-sha256,aes128-sha1,aes256-sha384,aes256-sha256,aes256-sha1!
left=%defaultroute
leftsourceip=%config
leftfirewall=no
rightsubnet=IP подсети сервера
auto=add
conn 1
right=IP сервера
leftca=/etc/ipsec.d/cacerts/Корневой.pem
leftcert=/etc/ipsec.d/certs/Пользовательский.pem
leftid=ID Клиента
rightid="ID сервера" (оказался в логах)
auto=add