{"id":827,"date":"2020-03-24T18:19:17","date_gmt":"2020-03-24T17:19:17","guid":{"rendered":"https:\/\/blog.mhasin.eu\/?p=827"},"modified":"2020-04-14T10:28:14","modified_gmt":"2020-04-14T08:28:14","slug":"obnovenie-certifikatu-radius-uvt","status":"publish","type":"post","link":"https:\/\/blog.mhasin.eu\/?p=827","title":{"rendered":"Obnovenie certifikatu radius UVT"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Pre obnovenie certifik\u00e1tu je potrebne u certifika\u010dnej autority vy\u017eiada\u0165 o podp\u00edsanie certifik\u00e1tu. Generovanie CSR:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl req -new -newkey rsa:2048 -nodes -out wifi_uvt_tuke_sk.csr -keyout wifi_uvt_tuke_sk.key -subj \"\/C=SK\/ST=N\/A\/L=Kosice\/O=TU Kosice\/OU=IT centrum\/CN=wifi.uvt.tuke.sk\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Po podpisani CRT je potrebne nahra\u0165 na radius servery s\u00fabory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.key\n.crt\nCA.crt<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Na radius serveru je potrebne vytvori\u0165 prie\u010dinok:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir \/etc\/freeradius\/PKI\/24.2.2020\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">24.2.2020 \u2013 d\u00e1tum podp\u00edsania certifik\u00e1tu<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do tohto prie\u010dinka je potrebne nakop\u00edrova\u0165 na\u0161e certifik\u00e1ty. V konfigura\u010dnom s\u00fabore je potrebn\u00e9 upravi\u0165:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/freeradius\/eap.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>certdir = ${confdir}\/PKI\/24.2.2020\ncadir = ${confdir}\/PKI\/24.2.2020<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Je potrebne pozmeni\u0165 d\u00e1tum certifik\u00e1tu.  V prie\u010dinku s certifik\u00e1tom je potrebne generova\u0165 novy DH certifik\u00e1t:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openssl dhparam -out dh 2048<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLQUA\" \/><input type=\"hidden\" name=\"blogName\" value=\"c\/LxdwcA\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"szAyBwA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"80\/Kyy9LzctMVUhOLSrJTMvMTiwpVShKTMksLVYIDQsBAA==\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLdW3L7C1MDIHAA==\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"y00syfcwNAIA\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwMtA1MNY1MlEwtLAyMLYyNAcA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"lVTNbtpAEL77KUa06s1eYuUQpRgpIlKbUtEokF7RYg9gjHe3+2PkVn2EPEQOPfTQF+ihF8J7dRcotWlEwQfvyjv+5pvvmx2vJSCeU6WixkL4ozmPM19QSSeSimmjfSsR+IjxAlmKEKPU6TjNlo\/awAxBcC1xxBDM7og+PTCcATWay1SXUJSrXylN6OobcBufiOUPRfexAniDDCUv1ied\/t1li4i2Z5+WsAT2+cU8wUa75ZY2F8iUmoPET+AzXKxfGZYgFb0Mm+cX9oONU+Bzo2FhMw5NoYfaZDhUWRArCb4Nf\/bQwfjKjGbQIJ2o3yX9QdQjV+R91OUqjZF8iAb38Gd\/H90MbFVMS5OTTi9ycIGFCxxcoLKG1yJryrY2idvqDmq\/ESx1ekHnblBTnNGpdKIyCpImqVGgUBYoS1DLnyMuy+MldHV6QSy117lyy4k0e3sM6p1RlLqwnWCZCpni00PKeHY8tTxLUgkEdUzGEnGTh9x2b0h4HoRB2Ayb5ES6ux\/h1YuL8OzsNSSuBfNKc9Jac\/4lewj2moPmU813ZWZ0z6+MW3jX42vXVo+1K1AG8BEyzsbpxEh3h3i+NRIrMMvvYISkhZXzeA0ZZfwfCZGKILbpnhHvP3COtDMlgpdfHILdf6074sX0cMCJjr2ryCj459yOIivh1rX6GLEi7vQ3oKqnVtCqH5PtwHFm8KKE67fV4NPnTzJ1jPPNmEmm4EbPiXWuc\/4G\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\" rel=\"nofollow\"><img src=\"https:\/\/blog.mhasin.eu\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/pdf_32x32.png\" alt=\"\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">\u00a0\u00a0<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">\u00a0\u00a0<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"Pre obnovenie certifik\u00e1tu je potrebne u certifika\u010dnej autority vy\u017eiada\u0165 o podp\u00edsanie certifik\u00e1tu. Generovanie CSR: Po podpisani CRT je potrebne nahra\u0165 na radius servery s\u00fabory: Na radius serveru je potrebne vytvori\u0165 prie\u010dinok: 24.2.2020 \u2013 d\u00e1tum podp\u00edsania certifik\u00e1tu Do tohto prie\u010dinka je potrebne nakop\u00edrova\u0165 na\u0161e certifik\u00e1ty. V konfigura\u010dnom s\u00fabore je potrebn\u00e9 upravi\u0165: Je potrebne pozmeni\u0165 d\u00e1tum certifik\u00e1tu. V prie\u010dinku s certifik\u00e1tom je potrebne generova\u0165 novy DH certifik\u00e1t: \u00a0\u00a0 Send article as PDF \u00a0\u00a0\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"arc_restricted_post":false,"footnotes":""},"categories":[13,4],"tags":[],"class_list":["post-827","post","type-post","status-publish","format-standard","hentry","category-freeradius","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=827"}],"version-history":[{"count":1,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/827\/revisions"}],"predecessor-version":[{"id":828,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/827\/revisions\/828"}],"wp:attachment":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}