<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://thecastle.me.uk/index.php?action=history&amp;feed=atom&amp;title=Jabber</id>
	<title>Jabber - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://thecastle.me.uk/index.php?action=history&amp;feed=atom&amp;title=Jabber"/>
	<link rel="alternate" type="text/html" href="https://thecastle.me.uk/index.php?title=Jabber&amp;action=history"/>
	<updated>2026-05-30T04:28:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://thecastle.me.uk/index.php?title=Jabber&amp;diff=6545&amp;oldid=prev</id>
		<title>Williamgray ywa14u61: Created page with &quot;When installing jabberd2 it asks for jabberd2.status or the status table  this is the sql to create it as it isn&#039;t in the installation    CREATE TABLE `status` (  	    `collec...&quot;</title>
		<link rel="alternate" type="text/html" href="https://thecastle.me.uk/index.php?title=Jabber&amp;diff=6545&amp;oldid=prev"/>
		<updated>2021-08-18T23:10:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;When installing jabberd2 it asks for jabberd2.status or the status table  this is the sql to create it as it isn&amp;#039;t in the installation    CREATE TABLE `status` (  	    `collec...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When installing jabberd2 it asks for jabberd2.status or the status table&lt;br /&gt;
&lt;br /&gt;
this is the sql to create it as it isn&amp;#039;t in the installation&lt;br /&gt;
&lt;br /&gt;
  CREATE TABLE `status` (&lt;br /&gt;
 	    `collection-owner` TEXT NOT NULL,&lt;br /&gt;
 	    `object-sequence` BIGINT NOT NULL AUTO_INCREMENT, KEY(`object-sequence`),&lt;br /&gt;
 	    `status` TEXT NOT NULL,&lt;br /&gt;
 	    `show` TEXT NOT NULL,&lt;br /&gt;
 	    `last-login` INT DEFAULT &amp;#039;0&amp;#039;,&lt;br /&gt;
 	    `last-logout` INT DEFAULT &amp;#039;0&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 A.6. Generating a Self-Signed SSL Certificate&lt;br /&gt;
&lt;br /&gt;
This appendix describes how to generate a self-signed OpenSSL certificate for use with Jabberd.&lt;br /&gt;
&lt;br /&gt;
I Important: Key Is Self-Signed&lt;br /&gt;
    The key generated by the instructions below is self-signed. Such a key is not part of a trust hierarchy. When used to secure communications with Jabber clients, a self-signed key will usually cause warnings to appear because its authenticity cannot be verified against a trusted key. &lt;br /&gt;
&lt;br /&gt;
A.6.1. Generate Key Pair&lt;br /&gt;
&lt;br /&gt;
From a working directory, enter the command below to begin an interactive key generation process:&lt;br /&gt;
&lt;br /&gt;
      openssl req -new -x509 -newkey rsa:1024 -days 3650 -keyout privkey.pem -out server.pem&lt;br /&gt;
&lt;br /&gt;
You will be prompted for a passphrase for the private key. After entering and confirming your passphrase, you will be prompted for public information about your key.&lt;br /&gt;
&lt;br /&gt;
N Note: Common Name&lt;br /&gt;
    Note that you should enter your domain name as the Common Name for your certificate. &lt;br /&gt;
N Note: Key Lifetime&lt;br /&gt;
    Note that the command above creates a key with a 3650 day (10 year lifetime). To change the key lifetime, use a different number of days for the -days parameter. &lt;br /&gt;
&lt;br /&gt;
A.6.2. Remove Passphrase&lt;br /&gt;
&lt;br /&gt;
Enter this command to remove the passphrase from your private key:&lt;br /&gt;
&lt;br /&gt;
      openssl rsa -in privkey.pem -out privkey.pem&lt;br /&gt;
&lt;br /&gt;
A.6.3. Combine the Private and Public Key&lt;br /&gt;
&lt;br /&gt;
Enter this command to combine the private and public keys into a single file:&lt;br /&gt;
&lt;br /&gt;
      cat privkey.pem &amp;gt;&amp;gt; server.pem&lt;br /&gt;
&lt;br /&gt;
A.6.4. Delete Private Key&lt;br /&gt;
&lt;br /&gt;
You should now delete your private key:&lt;br /&gt;
&lt;br /&gt;
      rm privkey.pem&lt;br /&gt;
&lt;br /&gt;
A.6.5. Move Key and Set Permissions&lt;br /&gt;
&lt;br /&gt;
You can now move your key to its permanent location. For example, to move the key to the default Jabberd pemfile location, you would enter this command (as superuser):&lt;br /&gt;
&lt;br /&gt;
      mv server.pem /usr/local/etc/jabberd/server.pem&lt;br /&gt;
&lt;br /&gt;
Then, you should set permissions on this file so that it is owned by superuser and is readonly (as superuser):&lt;br /&gt;
&lt;br /&gt;
      chown root:jabber /usr/local/etc/jabberd/server.pem    &lt;br /&gt;
      chmod 640 /usr/local/etc/jabberd/server.pem&lt;br /&gt;
&lt;br /&gt;
Your certificate is now ready for use by Jabberd. You should make a backup (such as to a floppy) of your certificate.&lt;/div&gt;</summary>
		<author><name>Williamgray ywa14u61</name></author>
		
	</entry>
</feed>