Fedora 34 : ssh authorized_keys failed Hint

egrep -i 'pubkey*' /etc/ssh/sshd_config sshd -T|egrep "pubkeyauthentication|pubkeyacceptedkeytypes"   Federal Information Processing Standards (FIPS) fips-mode-setup --disable fips-mode-setup --check fips-mode-setup --is-enabled Installation of FIPS modules is not completed. FIPS mode is disabled. update-crypto-policies --set LEGACY update-crypto-policies --show => LEGACY   reboot  

Read More

WP : SSL Hint

.htaccess <ifModule mod_headers.c>     # Header set Access-Control-Allow-Origin: *     #Header add Content-Security-Policy "default-src 'self';"     Header always set Content-Security-Policy "upgrade-insecure-requests;" </ifModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule>   Optional wp-config.php define('FORCE_SSL_ADMIN', true); define('WP_HOME',''.$_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST'].'/wordpress'); define('WP_SITEURL',''.$_SERVER['REQUEST_SCHEME'].'://'.$_SERVER['HTTP_HOST'].'/wordpress');  

Read More

open ssl : letsencrypt - certbot Hint

# certbot certonly --webroot -w /home/testdomain/public_html -d www.testdomain.com   Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator webroot, Installer None Enter email address (used for urgent renewal and security notices)  (Enter 'c' to cancel): owl@owl.co.kr   - - - - - - - - - - - - - - - - - - - […]

Read More