@@ -566,4 +566,4 @@ ALTER TABLE `regionsettings` ADD COLUMN `TerrainPBR1` varchar(36) NOT NULL DEFAU
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TerrainPBR2` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TerrainPBR3` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
|
||||
ALTER TABLE `regionsettings` ADD COLUMN `TerrainPBR4` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
||||
@@ -69,4 +69,4 @@ namespace OpenSim.Data.PGSQL
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@ CREATE TABLE IF NOT EXISTS MuteList (
|
||||
CONSTRAINT unique_agent_2 UNIQUE ("AgentID", "MuteId", "MuteName")
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
COMMIT;
|
||||
|
||||
@@ -1417,7 +1417,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
return $"{Convert.ToHexString(iv)}:{Convert.ToHexString(encryptedText).ToLower()}";
|
||||
return $"{Convert.ToHexString(iv)}:{Convert.ToHexString(encryptedText)}";
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
||||
@@ -2481,7 +2481,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
UserAgentServiceConnector userConnection = new(serverURI);
|
||||
|
||||
if (userConnection is not null)
|
||||
if (userConnection is not null && serverURI.StartsWith("http://"))
|
||||
{
|
||||
userID = userConnection.GetUUID(realFirstName, realLastName);
|
||||
if (!userID.IsZero())
|
||||
@@ -2490,6 +2490,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return userID.ToString();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Override hardcoded http in Util.ParseForeignAvatarName
|
||||
string SSLserverURI = serverURI.Replace("http://", "https://");
|
||||
userConnection = new(SSLserverURI);
|
||||
if (userConnection is not null)
|
||||
{
|
||||
userID = userConnection.GetUUID(realFirstName, realLastName);
|
||||
if (!userID.IsZero())
|
||||
{
|
||||
userManager.AddUser(userID, realFirstName, realLastName, SSLserverURI);
|
||||
return userID.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception /*e*/)
|
||||
{
|
||||
@@ -6549,7 +6564,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
OSSLShoutError("osAESEncrypt: Failed to encrypt!");
|
||||
return LSL_String.Empty;
|
||||
}
|
||||
return ret.ToString();
|
||||
return ret.ToString().ToLower();
|
||||
}
|
||||
|
||||
public LSL_String osAESDecrypt(string secret, string encryptedText)
|
||||
@@ -6577,7 +6592,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
OSSLShoutError("osAESEncryptTo: Failed to encrypt!");
|
||||
return LSL_String.Empty;
|
||||
}
|
||||
return ret.ToString();
|
||||
return ret.ToString().ToLower();
|
||||
}
|
||||
|
||||
public LSL_String osAESDecryptFrom(string secret, string encryptedText, string ivString)
|
||||
|
||||
@@ -617,7 +617,7 @@ namespace OpenSim.Services.GridService
|
||||
}
|
||||
|
||||
//this should be the prefererred way of setting up hg links now
|
||||
if (cmdparams[2].StartsWith("http"))
|
||||
if (cmdparams[2].StartsWith("http") || cmdparams[2].StartsWith("https"))
|
||||
{
|
||||
RunLinkRegionCommand(cmdparams);
|
||||
}
|
||||
@@ -632,7 +632,11 @@ namespace OpenSim.Services.GridService
|
||||
parameters.Insert(3, parts[2]);
|
||||
cmdparams = (string[])parameters.ToArray(typeof(string));
|
||||
}
|
||||
cmdparams[2] = "http://" + parts[0] + ':' + parts[1];
|
||||
string uri = cmdparams[2].StartsWith("https")
|
||||
? "https://" + parts[0] + ':' + parts[1]
|
||||
: "http://" + parts[0] + ':' + parts[1];
|
||||
|
||||
cmdparams[2] = uri;
|
||||
|
||||
RunLinkRegionCommand(cmdparams);
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
20
doc/README
Normal file
20
doc/README
Normal file
@@ -0,0 +1,20 @@
|
||||
README
|
||||
|
||||
This directory does not currently contain any OpenSimulator user level documentation. Such
|
||||
documentation can be found at
|
||||
|
||||
http://opensimulator.org
|
||||
|
||||
instead.
|
||||
|
||||
Rather, this directory can contain source-code documentation as generated via the doxygen package.
|
||||
|
||||
To do this, either execute
|
||||
|
||||
doxygen doxygen.conf
|
||||
|
||||
on the command line or run the target
|
||||
|
||||
nant doxygen
|
||||
|
||||
if you have nant installed.
|
||||
290
doc/doxygen.conf
Normal file
290
doc/doxygen.conf
Normal file
@@ -0,0 +1,290 @@
|
||||
# Doxyfile 1.8.2
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
DOXYFILE_ENCODING = UTF-8
|
||||
PROJECT_NAME = OpenSim
|
||||
PROJECT_NUMBER = GIT
|
||||
PROJECT_BRIEF =
|
||||
PROJECT_LOGO =
|
||||
OUTPUT_DIRECTORY =
|
||||
CREATE_SUBDIRS = NO
|
||||
OUTPUT_LANGUAGE = English
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
REPEAT_BRIEF = YES
|
||||
ABBREVIATE_BRIEF =
|
||||
ALWAYS_DETAILED_SEC = NO
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = YES
|
||||
STRIP_FROM_PATH =
|
||||
STRIP_FROM_INC_PATH =
|
||||
SHORT_NAMES = NO
|
||||
JAVADOC_AUTOBRIEF = NO
|
||||
QT_AUTOBRIEF = NO
|
||||
MULTILINE_CPP_IS_BRIEF = NO
|
||||
INHERIT_DOCS = YES
|
||||
SEPARATE_MEMBER_PAGES = NO
|
||||
TAB_SIZE = 8
|
||||
ALIASES =
|
||||
TCL_SUBST =
|
||||
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||
OPTIMIZE_OUTPUT_JAVA = NO
|
||||
OPTIMIZE_FOR_FORTRAN = NO
|
||||
OPTIMIZE_OUTPUT_VHDL = NO
|
||||
EXTENSION_MAPPING =
|
||||
MARKDOWN_SUPPORT = YES
|
||||
AUTOLINK_SUPPORT = YES
|
||||
BUILTIN_STL_SUPPORT = NO
|
||||
CPP_CLI_SUPPORT = NO
|
||||
SIP_SUPPORT = NO
|
||||
IDL_PROPERTY_SUPPORT = YES
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
SUBGROUPING = YES
|
||||
INLINE_GROUPED_CLASSES = NO
|
||||
INLINE_SIMPLE_STRUCTS = NO
|
||||
TYPEDEF_HIDES_STRUCT = NO
|
||||
SYMBOL_CACHE_SIZE = 0
|
||||
LOOKUP_CACHE_SIZE = 0
|
||||
#---------------------------------------------------------------------------
|
||||
# Build related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
EXTRACT_ALL = YES
|
||||
EXTRACT_PRIVATE = NO
|
||||
EXTRACT_PACKAGE = NO
|
||||
EXTRACT_STATIC = NO
|
||||
EXTRACT_LOCAL_CLASSES = YES
|
||||
EXTRACT_LOCAL_METHODS = NO
|
||||
EXTRACT_ANON_NSPACES = NO
|
||||
HIDE_UNDOC_MEMBERS = NO
|
||||
HIDE_UNDOC_CLASSES = NO
|
||||
HIDE_FRIEND_COMPOUNDS = NO
|
||||
HIDE_IN_BODY_DOCS = NO
|
||||
INTERNAL_DOCS = NO
|
||||
CASE_SENSE_NAMES = YES
|
||||
HIDE_SCOPE_NAMES = NO
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
FORCE_LOCAL_INCLUDES = NO
|
||||
INLINE_INFO = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_BRIEF_DOCS = NO
|
||||
SORT_MEMBERS_CTORS_1ST = NO
|
||||
SORT_GROUP_NAMES = NO
|
||||
SORT_BY_SCOPE_NAME = NO
|
||||
STRICT_PROTO_MATCHING = NO
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TESTLIST = YES
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST= YES
|
||||
ENABLED_SECTIONS =
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
SHOW_USED_FILES = YES
|
||||
SHOW_FILES = YES
|
||||
SHOW_NAMESPACES = YES
|
||||
FILE_VERSION_FILTER =
|
||||
LAYOUT_FILE =
|
||||
CITE_BIB_FILES =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
QUIET = NO
|
||||
WARNINGS = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_NO_PARAMDOC = NO
|
||||
WARN_FORMAT = "$file:$line: $text"
|
||||
WARN_LOGFILE = doxygen.error.log
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = ../OpenSim
|
||||
INPUT_ENCODING = UTF-8
|
||||
FILE_PATTERNS =
|
||||
RECURSIVE = YES
|
||||
EXCLUDE =
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS =
|
||||
EXCLUDE_SYMBOLS =
|
||||
EXAMPLE_PATH =
|
||||
EXAMPLE_PATTERNS =
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
IMAGE_PATH =
|
||||
INPUT_FILTER =
|
||||
FILTER_PATTERNS =
|
||||
FILTER_SOURCE_FILES = NO
|
||||
FILTER_SOURCE_PATTERNS =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
SOURCE_BROWSER = NO
|
||||
INLINE_SOURCES = NO
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = NO
|
||||
REFERENCES_RELATION = NO
|
||||
REFERENCES_LINK_SOURCE = YES
|
||||
USE_HTAGS = NO
|
||||
VERBATIM_HEADERS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
#---------------------------------------------------------------------------
|
||||
ALPHABETICAL_INDEX = NO
|
||||
COLS_IN_ALPHA_INDEX = 5
|
||||
IGNORE_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER =
|
||||
HTML_FOOTER =
|
||||
HTML_STYLESHEET =
|
||||
HTML_EXTRA_STYLESHEET =
|
||||
HTML_EXTRA_FILES =
|
||||
HTML_COLORSTYLE_HUE = 220
|
||||
HTML_COLORSTYLE_SAT = 100
|
||||
HTML_COLORSTYLE_GAMMA = 80
|
||||
HTML_TIMESTAMP = YES
|
||||
HTML_DYNAMIC_SECTIONS = NO
|
||||
HTML_INDEX_NUM_ENTRIES = 100
|
||||
GENERATE_DOCSET = NO
|
||||
DOCSET_FEEDNAME = "OpenSimulator docs"
|
||||
DOCSET_BUNDLE_ID = org.opensimulator.OpenSim
|
||||
DOCSET_PUBLISHER_ID = org.opensimulator.OpenSim
|
||||
DOCSET_PUBLISHER_NAME = OpenSim
|
||||
GENERATE_HTMLHELP = NO
|
||||
CHM_FILE =
|
||||
HHC_LOCATION =
|
||||
GENERATE_CHI = NO
|
||||
CHM_INDEX_ENCODING =
|
||||
BINARY_TOC = NO
|
||||
TOC_EXPAND = NO
|
||||
GENERATE_QHP = NO
|
||||
QCH_FILE =
|
||||
QHP_NAMESPACE = org.opensimulator.OpenSim
|
||||
QHP_VIRTUAL_FOLDER = doc
|
||||
QHP_CUST_FILTER_NAME =
|
||||
QHP_CUST_FILTER_ATTRS =
|
||||
QHP_SECT_FILTER_ATTRS =
|
||||
QHG_LOCATION =
|
||||
GENERATE_ECLIPSEHELP = NO
|
||||
ECLIPSE_DOC_ID = org.opensimulator.OpenSim
|
||||
DISABLE_INDEX = NO
|
||||
GENERATE_TREEVIEW = NO
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
TREEVIEW_WIDTH = 250
|
||||
EXT_LINKS_IN_WINDOW = NO
|
||||
FORMULA_FONTSIZE = 10
|
||||
FORMULA_TRANSPARENT = YES
|
||||
USE_MATHJAX = NO
|
||||
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
|
||||
MATHJAX_EXTENSIONS =
|
||||
SEARCHENGINE = YES
|
||||
SERVER_BASED_SEARCH = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_LATEX = NO
|
||||
LATEX_OUTPUT = latex
|
||||
LATEX_CMD_NAME = latex
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
COMPACT_LATEX = NO
|
||||
PAPER_TYPE = a4wide
|
||||
EXTRA_PACKAGES =
|
||||
LATEX_HEADER =
|
||||
LATEX_FOOTER =
|
||||
PDF_HYPERLINKS = YES
|
||||
USE_PDFLATEX = YES
|
||||
LATEX_BATCHMODE = NO
|
||||
LATEX_HIDE_INDICES = NO
|
||||
LATEX_SOURCE_CODE = NO
|
||||
LATEX_BIB_STYLE = plain
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_RTF = NO
|
||||
RTF_OUTPUT = rtf
|
||||
COMPACT_RTF = NO
|
||||
RTF_HYPERLINKS = NO
|
||||
RTF_STYLESHEET_FILE =
|
||||
RTF_EXTENSIONS_FILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_MAN = NO
|
||||
MAN_OUTPUT = man
|
||||
MAN_EXTENSION = .3
|
||||
MAN_LINKS = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_XML = NO
|
||||
XML_OUTPUT = xml
|
||||
XML_SCHEMA =
|
||||
XML_DTD =
|
||||
XML_PROGRAMLISTING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the Perl module output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_PERLMOD = NO
|
||||
PERLMOD_LATEX = NO
|
||||
PERLMOD_PRETTY = YES
|
||||
PERLMOD_MAKEVAR_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
PREDEFINED =
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
TAGFILES =
|
||||
GENERATE_TAGFILE =
|
||||
ALLEXTERNALS = NO
|
||||
EXTERNAL_GROUPS = YES
|
||||
PERL_PATH = /usr/bin/perl
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
CLASS_DIAGRAMS = YES
|
||||
MSCGEN_PATH =
|
||||
HIDE_UNDOC_RELATIONS = YES
|
||||
HAVE_DOT = NO
|
||||
DOT_NUM_THREADS = 0
|
||||
DOT_FONTNAME = Helvetica
|
||||
DOT_FONTSIZE = 10
|
||||
DOT_FONTPATH =
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
GROUP_GRAPHS = YES
|
||||
UML_LOOK = NO
|
||||
UML_LIMIT_NUM_FIELDS = 10
|
||||
TEMPLATE_RELATIONS = NO
|
||||
INCLUDE_GRAPH = YES
|
||||
INCLUDED_BY_GRAPH = YES
|
||||
CALL_GRAPH = NO
|
||||
CALLER_GRAPH = NO
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
DIRECTORY_GRAPH = YES
|
||||
DOT_IMAGE_FORMAT = png
|
||||
INTERACTIVE_SVG = NO
|
||||
DOT_PATH =
|
||||
DOTFILE_DIRS =
|
||||
MSCFILE_DIRS =
|
||||
DOT_GRAPH_MAX_NODES = 50
|
||||
MAX_DOT_GRAPH_DEPTH = 0
|
||||
DOT_TRANSPARENT = YES
|
||||
DOT_MULTI_TARGETS = NO
|
||||
GENERATE_LEGEND = YES
|
||||
DOT_CLEANUP = YES
|
||||
2877
prebuild.xml
Normal file
2877
prebuild.xml
Normal file
File diff suppressed because it is too large
Load Diff
22
runprebuild.bat
Executable file
22
runprebuild.bat
Executable file
@@ -0,0 +1,22 @@
|
||||
@echo OFF
|
||||
|
||||
copy bin\System.Drawing.Common.dll.win bin\System.Drawing.Common.dll
|
||||
|
||||
dotnet bin\prebuild.dll /target vs2022 /targetframework net8_0 /excludedir = "obj | bin" /file prebuild.xml
|
||||
|
||||
@echo Creating compile.bat
|
||||
rem To compile in release mode
|
||||
@echo dotnet build --configuration Release OpenSim.sln > compile.bat
|
||||
rem To compile in debug mode comment line (add rem to start) above and uncomment next (remove rem)
|
||||
rem @echo dotnet build --configuration Debug OpenSim.sln > compile.bat
|
||||
:done
|
||||
|
||||
|
||||
if exist "bin\addin-db-002" (
|
||||
del /F/Q/S bin\addin-db-002 > NUL
|
||||
rmdir /Q/S bin\addin-db-002
|
||||
)
|
||||
if exist "bin\addin-db-004" (
|
||||
del /F/Q/S bin\addin-db-004 > NUL
|
||||
rmdir /Q/S bin\addin-db-004
|
||||
)
|
||||
28
runprebuild.sh
Executable file
28
runprebuild.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
|
||||
'clean')
|
||||
dotnet bin/prebuild.dll /file prebuild.xml /clean
|
||||
|
||||
;;
|
||||
|
||||
|
||||
'autoclean')
|
||||
|
||||
echo y|dotnet bin/prebuild.dll /file prebuild.xml /clean
|
||||
|
||||
;;
|
||||
|
||||
|
||||
|
||||
*)
|
||||
|
||||
cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
|
||||
dotnet bin/prebuild.dll /target vs2022 /targetframework net8_0 /excludedir = "obj | bin" /file prebuild.xml
|
||||
echo "dotnet build -c Release OpenSim.sln" > compile.sh
|
||||
chmod +x compile.sh
|
||||
|
||||
;;
|
||||
|
||||
esac
|
||||
9
share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt
Normal file
9
share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
The remote region loading ability allows easier management of what regions a simulator run s from a webserver.
|
||||
In OpenSim.ini, change the 'region_info_source = filesystem' under [Startup] to 'region_info_source = web'.
|
||||
Then change the line 'regionload_webserver_url = ' to 'regionload_webserver_url = http://127.0.0.1/default.xml'
|
||||
replacing 'http://127.0.0.1/default.xml' with the URL of the region XML file.
|
||||
|
||||
The XML file of a remote region is similar to the filesystem version, except it is in one file instead of multiple
|
||||
region_xxx.xml files.
|
||||
|
||||
See example_web.xml for an example on how to make a web version for region loading.
|
||||
26
share/RegionLoading/example_web.xml
Normal file
26
share/RegionLoading/example_web.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<Nini>
|
||||
<Section Name="OpenSim Test">
|
||||
<Key Name="RegionUUID" Value="e3be865f-35b6-4f7c-9aea-9ab017b07635"/>
|
||||
<Key Name="InternalAddress" Value="0.0.0.0"/>
|
||||
<Key Name="InternalPort" Value="9000"/>
|
||||
<Key Name="AllowAlternatePorts" Value="False"/>
|
||||
<Key Name="ExternalHostName" Value="127.0.0.1"/>
|
||||
<Key Name="ResolveAddress" Value="False"/>
|
||||
<Key Name="Location" Value="1000,1000"/>
|
||||
<Key Name="SizeX" Value="256"/>
|
||||
<Key Name="SizeY" Value="256"/>
|
||||
<Key Name="ClampPrimSize" Value="False"/>
|
||||
</Section>
|
||||
<Section Name="OpenSim Test2">
|
||||
<Key Name="RegionUUID" Value="e3be865f-35b6-4f7c-9aea-9ab017b07636"/>
|
||||
<Key Name="InternalAddress" Value="0.0.0.0"/>
|
||||
<Key Name="InternalPort" Value="9001"/>
|
||||
<Key Name="AllowAlternatePorts" Value="False"/>
|
||||
<Key Name="ExternalHostName" Value="127.0.0.1"/>
|
||||
<Key Name="ResolveAddress" Value="False"/>
|
||||
<Key Name="Location" Value="1000,1001"/>
|
||||
<Key Name="SizeX" Value="256"/>
|
||||
<Key Name="SizeY" Value="256"/>
|
||||
<Key Name="ClampPrimSize" Value="False"/>
|
||||
</Section>
|
||||
</Nini>
|
||||
30
share/junkCA/CA.crt
Normal file
30
share/junkCA/CA.crt
Normal file
@@ -0,0 +1,30 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFJzCCBA+gAwIBAgIJAK3s6O4dAEQSMA0GCSqGSIb3DQEBBQUAMIG9MQswCQYD
|
||||
VQQGEwJVUzEUMBIGA1UECBMLTXVsdGktc3RhdGUxEzARBgNVBAcTCm11bHRpLWNp
|
||||
dHkxJTAjBgNVBAoTHE9wZW5TaW11bGF0b3IgRGV2IERPTlQgVFJVU1QxEzARBgNV
|
||||
BAsTCkRPTlQgVFJVU1QxJTAjBgNVBAMTHE9wZW5TaW11bGF0b3IgRGV2IERPTlQg
|
||||
VFJVU1QxIDAeBgkqhkiG9w0BCQEWEXRlcmF2dXNAZ21haWwuY29tMB4XDTA4MDkx
|
||||
MjE2MTEwNVoXDTE4MDgxMTE2MTEwNVowgb0xCzAJBgNVBAYTAlVTMRQwEgYDVQQI
|
||||
EwtNdWx0aS1zdGF0ZTETMBEGA1UEBxMKbXVsdGktY2l0eTElMCMGA1UEChMcT3Bl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|
||||
DQEBBQUAA4IBAQAaI69OZmjTVcZxtWLASB9nv3WNEOxJW+aBjseUhyM4H9pJ5bkh
|
||||
MmgiG9JgnBUpNzL3/1EV2Ud8ZCBy7JxhvwWnJMjxJL67US16sKpCLVvNAD2pCZ6f
|
||||
iaT/qorLYP/yJ7OieYmAh5lZsvG8xJM44ZZyvtYEVBB+qZw1gHkb4hhf3roUCV67
|
||||
aHMDRRolWyWm6weid7wTWz38QfRohVWidH9CPwubG7K4zPrDpBJAZV1cKra1YTrM
|
||||
eje1GuIyHzpIAAYP5z1hgI9p/0oTrWnG7w7Ydkpm9lu50WMt1DScsYnh0MhW/uas
|
||||
e24cQsvz0m9PZlfAsJQeX6pbqlJppoX+XeVC
|
||||
-----END CERTIFICATE-----
|
||||
27
share/junkCA/CA.key
Normal file
27
share/junkCA/CA.key
Normal file
@@ -0,0 +1,27 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEowIBAAKCAQEAsKUyMNNWOi4OyDZ5g6fShywtadFHYOGPVMdt9s3drTk6Yxe0
|
||||
J5RyDhioPIxOkomleDTwvZ0aoFQjjGuh+3K26/yK13E1KtGWMiBtO2ZG1G/uGjTS
|
||||
S4f76sR49JF30ShsatUM45jTu5Hws0eL0LnSOBfx8Ohy9ryKkSN7DXqZ/o91SgiC
|
||||
8ky0D29JiYuhH0Ys6i7SIEMGmjDdwIGVhfKwADTS3q85GCzO/rk+bEGF/7Bj4tes
|
||||
fzYBa1HwiOgINkm7n4/FTjqdPJA8FWTau1a+OMvpdYCckj5yzGwa02/3q3PlCb+M
|
||||
YFbESKKTCj/wxvs93kW8SnD2dIaT1iUuCYRtGwIDAQABAoIBAFNoXU+iqodkMgSl
|
||||
fDEHMCg1WugpMjvzpXsRg8HSqQZfDEu36I/7zvMK/30/fuZAakpdLQNLSERGFlb6
|
||||
h4y0ON0q7OAXi1RBjFr05r7yZyVuCI6FPHr/pZrP1JEekuXG4ZJ8MM7S3b8mhPIS
|
||||
KVmQN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if8eVyTRdfmA/2YQjwMIFyrWyxLpTiuiO
|
||||
0P6lO4B9NCT2N/gDPomdlOfkA2g063C21CPa43lr8lGx8oaQW95W
|
||||
-----END RSA PRIVATE KEY-----
|
||||
1
share/junkCA/CA.srl
Normal file
1
share/junkCA/CA.srl
Normal file
@@ -0,0 +1 @@
|
||||
F10DF59AD0EE66E0
|
||||
30
share/junkCA/CA2.pem
Normal file
30
share/junkCA/CA2.pem
Normal file
@@ -0,0 +1,30 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIFJzCCBA+gAwIBAgIJAK3s6O4dAEQSMA0GCSqGSIb3DQEBBQUAMIG9MQswCQYD
|
||||
VQQGEwJVUzEUMBIGA1UECBMLTXVsdGktc3RhdGUxEzARBgNVBAcTCm11bHRpLWNp
|
||||
dHkxJTAjBgNVBAoTHE9wZW5TaW11bGF0b3IgRGV2IERPTlQgVFJVU1QxEzARBgNV
|
||||
BAsTCkRPTlQgVFJVU1QxJTAjBgNVBAMTHE9wZW5TaW11bGF0b3IgRGV2IERPTlQg
|
||||
VFJVU1QxIDAeBgkqhkiG9w0BCQEWEXRlcmF2dXNAZ21haWwuY29tMB4XDTA4MDkx
|
||||
MjE2MTEwNVoXDTE4MDgxMTE2MTEwNVowgb0xCzAJBgNVBAYTAlVTMRQwEgYDVQQI
|
||||
EwtNdWx0aS1zdGF0ZTETMBEGA1UEBxMKbXVsdGktY2l0eTElMCMGA1UEChMcT3Bl
|
||||
blNpbXVsYXRvciBEZXYgRE9OVCBUUlVTVDETMBEGA1UECxMKRE9OVCBUUlVTVDEl
|
||||
MCMGA1UEAxMcT3BlblNpbXVsYXRvciBEZXYgRE9OVCBUUlVTVDEgMB4GCSqGSIb3
|
||||
DQEJARYRdGVyYXZ1c0BnbWFpbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
|
||||
ggEKAoIBAQCwpTIw01Y6Lg7INnmDp9KHLC1p0Udg4Y9Ux232zd2tOTpjF7QnlHIO
|
||||
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yHzpIAAYP5z1hgI9p/0oTrWnG7w7Ydkpm9lu50WMt1DScsYnh0MhW/uas
|
||||
e24cQsvz0m9PZlfAsJQeX6pbqlJppoX+XeVC
|
||||
-----END CERTIFICATE-----
|
||||
86
share/junkCA/Certificate commands OpenSSL.txt
Normal file
86
share/junkCA/Certificate commands OpenSSL.txt
Normal file
@@ -0,0 +1,86 @@
|
||||
To generate a cert request and sign it with the JunkCA
|
||||
|
||||
REMEMBER TO APPEND THE CA2.pem file to the bottom of the app_settings/CA.pem in the Linden client folders or you won't be able to connect!
|
||||
|
||||
Generate a Host Key:
|
||||
openssl genrsa -out host.key 2048
|
||||
|
||||
Generate a Certificate signing request with *OpenSSL*:
|
||||
openssl req -new -nodes -key host.key -out host.csr
|
||||
When prompted for: 'Common Name (eg, YOUR name) []:', please type the domain name that this certificate will be used on.
|
||||
|
||||
Or you could;
|
||||
|
||||
Generate a Certificate request with the *IIS Snapin*:
|
||||
Go to Control Panel ---> Administrative tools ---> Internet Information Services
|
||||
Pick a web site on your server.
|
||||
right click, choose properties from the context menu
|
||||
Go to the Directory Security tab
|
||||
Click On the 'Server Certificate...' button
|
||||
Click 'Prepare the request now, but send it later' and then follow the wizard.
|
||||
Be sure to type the common name as the domain name that you will be servicing. www.osgrid.org or whatever server will be using this cert
|
||||
|
||||
Sign the certificate request with the junkCA;
|
||||
openssl x509 -req -days 3620 -CA CA.crt -CAkey CA.key -CAcreateserial -in host.csr -out signed.cer
|
||||
|
||||
Import it into your MY store on windows.
|
||||
|
||||
If you used OpenSSL to generate the certificate;
|
||||
openssl pkcs12 -export -in server.crt -inkey server.key.unsecure -out server.pfx -name "My Lovely Cert"
|
||||
server.crt is the signed cert from the CA.
|
||||
server.key.unsecure is the *unencrypted* private key.
|
||||
|
||||
You will be asked for a password, set this if you want.
|
||||
|
||||
In Windows, fire up "mmc", add the certificates Snap-in, set it to manage the local computer. Go to personal certificates folder, import server.pfx, enter password if you gave it one earlier.
|
||||
|
||||
In IIS, get it to let you choose from currently installed certs. You should now be able to choose the one you just installed.
|
||||
|
||||
If you used the IIS Snap-in,
|
||||
Go to Control Panel ---> Administrative tools ---> Internet Information Services
|
||||
Pick a web site on your server.
|
||||
right click, choose properties from the context menu
|
||||
Go to the Directory Security tab
|
||||
Click On the 'Server Certificate...' button
|
||||
Choose the radio button that says, 'Assign an existing certificate'
|
||||
|
||||
|
||||
Mono, you must use httpcfg in the Mono-1.9.1/lib/mono/2.0 folder.
|
||||
httpcfg -add -port <TYPE HTTPS PORT> -pvk <TYPE PRIVATE KEY FILE> -cert MyCert
|
||||
From Lexa:
|
||||
It expect the key to be in the windows pvk format
|
||||
pvk -in host.key -nocrypt -out host.pvk -topvk" and use -pvk host.pvk
|
||||
pvk is a package on FreeBSD that gets installed as part of the Mono installation
|
||||
|
||||
After that, make sure to set-up your opensim.ini!
|
||||
|
||||
|
||||
OpenSSL can be found:
|
||||
http://www.slproweb.com/products/Win32OpenSSL.html
|
||||
|
||||
httpcfg.exe for windowsXP can be found:
|
||||
http://www.microsoft.com/downloads/details.aspx?FamilyID=49ae8576-9bb9-4126-9761-ba8011fabf38&displaylang=en
|
||||
|
||||
Windows Vista users need to use netsh http!
|
||||
|
||||
---------------------------------------------------
|
||||
|
||||
Additional notes
|
||||
|
||||
To create your own CA
|
||||
|
||||
openssl genrsa -out yourCA.key 2048
|
||||
openssl req -new -key yourCA.key -x509 -days 3620 -out yourCA.crt
|
||||
|
||||
and the final step.. (AND THIS IS IMPORTANT)
|
||||
|
||||
openssl x509 -in CA.crt -out yourCA.pem -outform PEM
|
||||
|
||||
The last step will produce a certificate in the PEM format that you can append to the Linden client's app_settings/CA.pem file
|
||||
so that it can validate certificates that are generated from your CA.
|
||||
|
||||
One last important thing!
|
||||
|
||||
All users that connect with linden clients
|
||||
using SSL NEED the pem file you created in that last step appended to theirs, or their client will give them a weird error about
|
||||
their clock being wrong!
|
||||
2
share/junkCA/README.txt
Normal file
2
share/junkCA/README.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
This Folder contains junk CA files and directions for signing with it.
|
||||
Comply with export laws!
|
||||
Reference in New Issue
Block a user