<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20684" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2021-08-15T19:13:23-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20684</id>

		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2019-11-05T19:20:19-04:00</updated>

		<published>2019-11-05T19:20:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107921#p107921</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107921#p107921"/>
		<title type="html"><![CDATA[Re: eggdrop 1.8.4 no connect whit SSL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107921#p107921"><![CDATA[
<blockquote class="uncited"><div>...<br>Tcl error in file 'eggdrop.conf':<br>invalid command name "certificate"<br>    while executing<br>"certificate verification will not work."<br>    (file "eggdrop.conf" line 270)<br>* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br>...</div></blockquote>Let's start with just this much.    <br><br><br>In the text that you provided in your post, from your eggdrop.conf,  is:<blockquote class="uncited"><div># Specify the location at which CA certificates for verification purposes<br># are located. These certificates are trusted. If you don't set this,<br>certificate verification will not work. <br></div></blockquote>See the problem?<br><br>There is no # as the first character on the last line that I quoted, to make that line a comment line.<br>Therefore, it is an active line, and eggdrop tries to read it - and obviously chokes on it.<br><br>My guess is that you accidentally deleted the original # that was there.   Put it back.<br><br>Then see what happens then.<br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Tue Nov 05, 2019 7:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Suratka]]></name></author>
		<updated>2021-08-15T19:13:23-04:00</updated>

		<published>2019-11-05T17:57:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=107920#p107920</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=107920#p107920"/>
		<title type="html"><![CDATA[eggdrop 1.8.4 no connect whit SSL]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=107920#p107920"><![CDATA[
ERROR: TLS: unable to set CA certificates location: error:02001002:system library:fopen:No such file or directory<br><br> <br>I can't get my eggdrop 1.8.4 to work with ssl.<br><br>I'm screwing something up but I don't understand what.<br>who can help me with a step by step procedure?[/b]<br><br><br><br>I tried to delete everything and start again and now it gives me this error:<br><br>Tcl error in file 'eggdrop.conf':<br>invalid command name "certificate"<br>    while executing<br>"certificate verification will not work."<br>    (file "eggdrop.conf" line 270)<br>* CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br>Lory@vps7382:~/eggdrop$ Tcl error in file 'eggdrop.conf':<br>No command 'Tcl' found, did you mean:<br> Command 'mcl' from package 'mcl' (universe)<br> Command 'cl' from package 'cl-launch' (universe)<br> Command 'ccl' from package 'cclive' (universe)<br> Command 'ecl' from package 'ecl' (universe)<br> Command 'ncl' from package 'ncl-ncarg' (universe)<br> Command 'gcl' from package 'gcl' (universe)<br>Tcl: command not found<br>aktarus@vps738288:~/eggdrop$ invalid command name "certificate"<br>invalid: command not found<br>lory@vps7382:~/eggdrop$     while executing<br>&gt; "certificate verification will not work."<br>&gt;     (file "eggdrop.conf" line 270)<br>&gt; * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)<br>-bash: syntax error near unexpected token `('<br>Lory@vps7382:~/eggdrop$<br><br><br><br><br><br>to say that I don't even know if l eggdrop.conf is well configured in the "SSL setting" department<br><br><br><strong class="text-strong">this is my eggdrop.conf</strong><br><br><br>##### SSL SETTINGS #####<br><br># Settings in this section take effect when eggdrop is compiled with TLS<br># support.<br><br># File containing your private key, needed for the SSL certificate<br># (see below). You can create one issuing the following command:<br>#<br>#   openssl genrsa -out eggdrop.key 2048<br>#<br># It will create a 2048 bit RSA key, strong enough for eggdrop.<br># This is required for SSL hubs/listen ports, secure file transfer and<br># /ctcp botnick schat<br># For your convenience, you can type 'make sslcert' after 'make install'<br># and you'll get a key and a certificate in your DEST directory.<br>  set ssl-privatekey "eggdrop1.key"<br><br># Specify the filename where your SSL certificate is located. If you<br># don't set this, eggdrop will not be able to act as a server in SSL<br># connections, as with most ciphers a certificate and a private key<br># are required on the server side. Must be in PEM format.<br># If you don't have one, you can create it using the following command:<br>#<br>#   openssl req -new -key eggdrop.key -x509 -out eggdrop.crt -days 365<br>#<br># This is required for SSL hubs/listen ports, secure file transfer and<br># /ctcp botnick schat<br># For your convenience, you can type 'make sslcert' after 'make install'<br># and you'll get a key and a certificate in your DEST directory.<br> set ssl-certificate "eggdrop1.crt"<br><br># Sets the maximum depth for the certificate chain verification that will<br># be allowed for ssl. When certificate verification is enabled, any chain<br># exceeding this depth will fail verification.<br>#set ssl-verify-depth 9<br><br># Specify the location at which CA certificates for verification purposes<br># are located. These certificates are trusted. If you don't set this,<br>  certificate verification will not work.<br><br>set ssl-capath "/etc/ssl/certs/"<br>set ssl-cafile "/etc/ssl/certs/CA.pem"<br><br>#set ssl-cafile ""<br><br># Specify the list of ciphers (in order of preference) allowed for use with<br># ssl. The cipher list is one or more cipher strings separated by colons,<br># commas or spaces. Unavailable ciphers are silently ignored unless no useable<br># cipher could be found. For the list of possible cipher strings and their<br># meanings, please refer to the ciphers(1) manual.<br># Note: if you set this, the value replaces any ciphers OpenSSL might use by<br># default. To include the default ciphers, you can put DEFAULT as a cipher<br># string in the list.<br># For example:<br>#<br>    set ssl-ciphers "DEFAULT ADH"<br>#<br># This will make eggdrop allow the default OpenSSL selection plus anonymous<br># DH ciphers.<br>#<br>    set ssl-ciphers "ALL"<br>#<br># This will make eggdrop allow all ciphers supported by OpenSSL, in a<br># reasonable order.<br>set ssl-ciphers "DEFAULT ADH"<br><br># Enable certificate authorization. Set to 1 to allow users and bots to<br># identify automatically by their certificate fingerprints. Setting it<br># to 2 to will force fingerprint logins. With a value of 2, users without<br># a fingerprint set or with a certificate UID not matching their handle<br># won't be allowed to login on SSL enabled telnet ports. Fingerprints<br># must be set in advance with the .fprint and .chfinger commands.<br># NOTE: this setting has no effect on plain-text ports.<br>set ssl-cert-auth 2<br><br># You can control SSL certificate verification using the following variables.<br># All of them are flag-based. You can set them by adding together the numbers<br># for all exceptions you want to enable. By default certificate verification<br># is disabled and all certificates are assumed to be valid. The numbers are<br># the following:<br>#<br># Enable certificate verification - 1<br># Allow self-signed certificates - 2<br># Don't check peer common or alt names - 4<br># Allow expired certificates - 8<br># Allow certificates which are not valid yet - 16<br># Allow revoked certificates - 32<br># A value of 0 disables verification.<br><br># Control certificate verification for DCC chats (only /dcc chat botnick)<br>set ssl-verify-dcc 1<br><br># Control certificate verification for linking to hubs<br>#set ssl-verify-bots 0<br><br># Control cerfificate verification for SSL listening ports. This includes<br># leaf bots connecting, users telneting in and /ctcp bot chat.<br>set ssl-verify-clients 1<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12635">Suratka</a> — Tue Nov 05, 2019 5:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
