{"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>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>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>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>24.2.2020 \u2013 d\u00e1tum podp\u00edsania certifik\u00e1tu<\/p>\n\n\n\n<p>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>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><\/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=\"lZTPbtNAEMbvfopRQNzsTa0eqhJHqlIJSlCImpRrtLEnzcbxrtk\/jgziEfoQPXDgwAtw4JLmvdhNQrCDBcEHe+UZffPNzzP2Onl3KBHElIsCOUOIUWo2Y+n6URtYIORCS5xyBHMI0acHjgugRgvJdAlFufnBaEI3X0DY\/CRff1P0WCuAV8hRimIb6Y1uLzsk73r26uTWQLykSkWtVe5PlyJO\/Vgk2Op23KMrcuRKLUHiB\/A5rra3FEuQil6G7fML+8LmKfCF0bCyFSem0BNtUpyoNIiVBN+mNwadjK\/MdAEt0otGfTIaRwNyRd5GfaFYjORdNL6DX+e76GZsu+Jamoz0BpGTC6xc4OQClba8Dtlatr1J3HfXHe6oMAcFerfjGlZO59KR4xQkTZhRoFAWKEtQ6+9TIcvTOblmvCCW2utduUeTl8FRmfo3Lkpd2G9q7eSS4dMD4yI9vX6WJkwCQR2TmUTc1SHD\/g0Jz4MwCNthmzR5OkThxbOL8OzsJSRuYrLKLNHaLP121L0WoMVci4PhlB7hTYXVcHO3hbx5rI1lGcB7SAWfsXsj3VyLbM8dKzLrr2BySQsL5nQanHLxBwykeRDbcg0Y\/iHnTDu8ETz\/5BTs+XOdrRfTvyc0sX9TYZWLj5n9B1hOe\/71\/bWkDpANqGrUUqtCv99vuiMuihKuX1eT\/3\/xk3lOJc12+53Mwe18UzNb4Z8=\" \/> \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}]}}