Tag: SSL

31 January 2023

AWS – LightSail Bitnami SSL Certificate & Renewal

Install SSL Certificate sudo /opt/bitnami/bncert-tool Renew existing SSL Certificate SSL certificates from Let’s Encrypt typically expire within 90 days of their creation and require regular renewal. If the expiration date is approaching, it is recommended to manually renew the certificate before setting up an automated […]

30 April 2020

SSL Certificates

SSL Certificates encrypt communication between the server and the end-user. SSL Certificates Open SSH Get a certificate for the following domains (combined Certificate): sudo certbot –expand -d domain1.com,domain2.com,domain3.co.uk,subdomain.domain.uk Note that you can add multiple domains as aliases, which also allow for multiple domains under one […]

8 May 2021

Active Directory Attributes

accountExpiresaccountNameHistoryaCSPolicyNameadminCountadminDescriptionadminDisplayNameallowedAttributesallowedAttributesEffectiveallowedChildClassesallowedChildClassesEffectivealtRecipientaltRecipientBLaltSecurityIdentitiesassistantattributeCertificateattributeCertificateAttributeaudioauthOrigauthOrigBLautoReplyautoReplyMessagebadPasswordTimebadPwdCountbridgeheadServerListBLbusinessCategorybusinessRolesccanonicalNamecarLicensecncocodePagecommentcompanycontrolAccessRightscountryCodecreateTimeStampdBCSPwddefaultClassStoredeletedItemFlagsdelivContLengthdeliverAndRedirectdeliveryMechanismdelivExtContTypesdepartmentdepartmentNumberdescriptiondesktopProfiledestinationIndicatordirectReportsdisplayNamedisplayNamePrintabledistinguishedNamedivisiondLMemDefaultdLMemRejectPermsdLMemRejectPermsBLdLMemSubmitPermsdLMemSubmitPermsBLdnQualifierdSASignaturedSCorePropagationDatadynamicLDAPServeremployeeIDemployeeNumberemployeeTypeenabledProtocolsexpirationTimeextensionAttribute1extensionAttribute10extensionAttribute11extensionAttribute12extensionAttribute13extensionAttribute14extensionAttribute15extensionAttribute2extensionAttribute3extensionAttribute4extensionAttribute5extensionAttribute6extensionAttribute7extensionAttribute8extensionAttribute9extensionDataextensionNamefacsimileTelephoneNumberflagsfolderPathnameformDataforwardingAddressfromEntryfrsComputerReferenceBLfRSMemberReferenceBLfSMORoleOwnergarbageCollPeriodgecosgenerationQualifiergidNumbergivenNamegroupMembershipSAMgroupPrioritygroupsToIgnoreheuristicshomeDirectoryhomeDrivehomeMDBhomeMTAhomePhonehomePostalAddresshouseIdentifierimportedFrominfoinitialsinstanceTypeinternationalISDNNumberinternetEncodingipPhoneisCriticalSystemObjectisDeletedisPrivilegeHolderisRecycledjpegPhotokMServerllabeledURIlanguagelanguageCodelastKnownParentlastLogofflastLogonlastLogonTimestamplegacyExchangeDNlmPwdHistorylocaleIDlockoutTimeloginShelllogonCountlogonHourslogonWorkstationmailmailNicknamemanagedObjectsmanagermAPIRecipientmasteredBymaxStoragemDBOverHardQuotaLimitmDBOverQuotaLimitmDBStorageQuotamDBUseDefaultsmemberOfmhsORAddressmiddleNamemobilemodifyTimeStampmsCOM-PartitionSetLinkmsCOM-UserLinkmsCOM-UserPartitionSetLinkmsDFSR-ComputerReferenceBLmsDFSR-MemberReferenceBLmsDRM-IdentityCertificatemsDS-AllowedToActOnBehalfOfOtherIdentitymsDS-AllowedToDelegateTomsDS-Approx-Immed-SubordinatesmsDS-AssignedAuthNPolicymsDS-AssignedAuthNPolicySilomsDS-AuthenticatedAtDCmsDS-AuthenticatedToAccountlistmsDS-AuthNPolicySiloMembersBLmsDS-Cached-MembershipmsDS-Cached-Membership-Time-StampmsDS-ClaimSharesPossibleValuesWithBLmsDS-CloudAnchormsDS-cloudExtensionAttribute1msDS-cloudExtensionAttribute10msDS-cloudExtensionAttribute11msDS-cloudExtensionAttribute12msDS-cloudExtensionAttribute13msDS-cloudExtensionAttribute14msDS-cloudExtensionAttribute15msDS-cloudExtensionAttribute16msDS-cloudExtensionAttribute17msDS-cloudExtensionAttribute18msDS-cloudExtensionAttribute19msDS-cloudExtensionAttribute2msDS-cloudExtensionAttribute20msDS-cloudExtensionAttribute3msDS-cloudExtensionAttribute4msDS-cloudExtensionAttribute5msDS-cloudExtensionAttribute6msDS-cloudExtensionAttribute7msDS-cloudExtensionAttribute8msDS-cloudExtensionAttribute9mS-DS-ConsistencyChildCountmS-DS-ConsistencyGuidmS-DS-CreatorSIDmsDS-EnabledFeatureBLmsDS-ExternalDirectoryObjectIdmsDS-FailedInteractiveLogonCountmsDS-FailedInteractiveLogonCountAtLastSuccessfulLogonmsDS-GeoCoordinatesAltitudemsDS-GeoCoordinatesLatitudemsDS-GeoCoordinatesLongitudemsDS-HABSeniorityIndexmsDS-HostServiceAccountBLmsDS-IsDomainFormsDS-IsFullReplicaFormsDS-IsPartialReplicaFormsDS-IsPrimaryComputerFormsDS-KeyCredentialLinkmsDS-KeyPrincipalBLmsDS-KeyVersionNumbermsDS-KrbTgtLinkBlmsDS-LastFailedInteractiveLogonTimemsDS-LastKnownRDNmsDS-LastSuccessfulInteractiveLogonTimemsDS-LocalEffectiveDeletionTimemsDS-LocalEffectiveRecycleTimemsDs-masteredBymsds-memberOfTransitivemsDS-MembersForAzRoleBLmsDS-MembersOfResourcePropertyListBLmsds-memberTransitivemsDS-NCReplCursorsmsDS-NCReplInboundNeighborsmsDS-NCReplOutboundNeighborsmsDS-NC-RO-Replica-Locations-BLmsDS-NcTypemsDS-NonMembersBLmsDS-ObjectReferenceBLmsDS-ObjectSoamsDS-OIDToGroupLinkBlmsDS-OperationsForAzRoleBLmsDS-OperationsForAzTaskBLmsDS-parentdistnamemsDS-PhoneticCompanyNamemsDS-PhoneticDepartmentmsDS-PhoneticDisplayNamemsDS-PhoneticFirstNamemsDS-PhoneticLastNamemsDS-PrimaryComputermsDS-PrincipalNamemsDS-PSOAppliedmsDS-ReplAttributeMetaDatamsDS-ReplValueMetaDatamsDS-ReplValueMetaDataExtmsDS-ResultantPSOmsDS-RevealedDSAsmsDS-RevealedListBLmsDS-SecondaryKrbTgtNumbermsDS-Site-AffinitymsDS-SourceAnchormsDS-SourceObjectDNmsDS-SupportedEncryptionTypesmsDS-SyncServerUrlmsDS-TasksForAzRoleBLmsDS-TasksForAzTaskBLmsDS-TDOEgressBLmsDS-TDOIngressBLmsds-tokenGroupNamesmsds-tokenGroupNamesGlobalAndUniversalmsds-tokenGroupNamesNoGCAcceptablemsDS-User-Account-Control-ComputedmsDS-UserPasswordExpiryTimeComputedmsDS-ValueTypeReferenceBLmsExchADCGlobalNamesmsExchAddressBookFlagsmsExchAggregationSubscriptionCredentialmsExchALObjectVersionmsExchAlternateMailboxesmsExchApprovalApplicationLinkmsExchArbitrationMailboxmsExchArchiveAddressmsExchArchiveDatabaseBLmsExchArchiveDatabaseLinkmsExchArchiveGUIDmsExchArchiveNamemsExchArchiveQuotamsExchArchiveStatusmsExchArchiveWarnQuotamsExchAssistantNamemsExchAuditAdminmsExchAuditDelegatemsExchAuditDelegateAdminmsExchAuditOwnermsExchAvailabilityOrgWideAccountBLmsExchAvailabilityPerUserAccountBLmsExchBlockedSendersHashmsExchBypassAuditmsExchBypassModerationBLmsExchBypassModerationFromDLMembersBLmsExchBypassModerationFromDLMembersLinkmsExchBypassModerationLinkmsExchCalculatedTargetAddressmsExchCalendarRepairDisabledmsExchCapabilityIdentifiersmsExchCoManagedObjectsBLmsExchConferenceMailboxBLmsExchConfigurationUnitBLmsExchContentConversionSettingsmsExchControllingZonemsExchCUmsExchCustomProxyAddressesmsExchDelegateListBLmsExchDelegateListLinkmsExchDeviceAccessControlRuleBLmsExchDirsyncIDmsExchDirsyncSourceObjectClassmsExchDisabledArchiveDatabaseLinkmsExchDisabledArchiveGUIDmsExchDumpsterQuotamsExchDumpsterWarningQuotamsExchEdgeSyncCookiesmsExchEdgeSyncRetryCountmsExchEdgeSyncSourceGuidmsExchELCExpirySuspensionEndmsExchELCExpirySuspensionStartmsExchELCMailboxFlagsmsExchEnableModerationmsExchEwsApplicationAccessPolicymsExchEwsEnabledmsExchEwsExceptionsmsExchEwsWellKnownApplicationPoliciesmsExchExpansionServerNamemsExchExternalDirectoryObjectIdmsExchExternalOOFOptionsmsExchExternalSyncStatemsExchFBURLmsExchForeignGroupSIDmsExchGenericForwardingAddressmsExchHABRootDepartmentBLmsExchHABShowInDepartmentsmsExchHideFromAddressListsmsExchHomeServerNamemsExchHouseIdentifiermsExchIMACLmsExchIMAddressmsExchIMAP4SettingsmsExchIMAPOWAURLPrefixOverridemsExchIMMetaPhysicalURLmsExchImmutableIdmsExchIMPhysicalURLmsExchIMVirtualServermsExchInconsistentStatemsExchIntendedMailboxPlanBLmsExchIntendedMailboxPlanLinkmsExchInterruptUserOnAuditFailuremsExchIsMSODirsyncedmsExchLabeledURImsExchLastExchangeChangedTimemsExchLicenseTokenmsExchLitigationHoldDatemsExchLitigationHoldOwnermsExchMailboxAuditEnablemsExchMailboxAuditLastAdminAccessmsExchMailboxAuditLastDelegateAccessmsExchMailboxAuditLastExternalAccessmsExchMailboxAuditLogAgeLimitmsExchMailboxFolderSetmsExchMailboxFolderSet2msExchMailboxGuidmsExchMailboxMoveBatchNamemsExchMailboxMoveFlagsmsExchMailboxMoveRemoteHostNamemsExchMailboxMoveSourceArchiveMDBBLmsExchMailboxMoveSourceArchiveMDBLinkmsExchMailboxMoveSourceMDBBLmsExchMailboxMoveSourceMDBLinkmsExchMailboxMoveSourceUserBLmsExchMailboxMoveStatusmsExchMailboxMoveStorageMDBBLmsExchMailboxMoveTargetArchiveMDBBLmsExchMailboxMoveTargetArchiveMDBLinkmsExchMailboxMoveTargetMDBBLmsExchMailboxMoveTargetMDBLinkmsExchMailboxMoveTargetUserBLmsExchMailboxOABVirtualDirectoriesLinkmsExchMailboxPlanTypemsExchMailboxSecurityDescriptormsExchMailboxTemplateLinkmsExchMailboxUrlmsExchManagementSettingsmsExchMasterAccountSidmsExchMaxBlockedSendersmsExchMaxSafeSendersmsExchMDBRulesQuotamsExchMessageHygieneFlagsmsExchMessageHygieneSCLDeleteThresholdmsExchMessageHygieneSCLJunkThresholdmsExchMessageHygieneSCLQuarantineThresholdmsExchMessageHygieneSCLRejectThresholdmsExchMobileAllowedDeviceIDsmsExchMobileBlockedDeviceIDsmsExchMobileDebugLoggingmsExchMobileMailboxFlagsmsExchMobileMailboxPolicyLinkmsExchMobileRemoteDocumentsAllowedServersBLmsExchMobileRemoteDocumentsBlockedServersBLmsExchMobileRemoteDocumentsInternalDomainSuffixListBLmsExchMobileSettingsmsExchModeratedByLinkmsExchModeratedObjectsBLmsExchModerationFlagsmsExchObjectCountQuotamsExchObjectIDmsExchOmaAdminExtendedSettingsmsExchOmaAdminWirelessEnablemsExchOnPremiseObjectGuidmsExchOrganizationsAddressBookRootsBLmsExchOrganizationsGlobalAddressListsBLmsExchOrganizationsTemplateRootsBLmsExchOriginatingForestmsExchOURootmsExchOWAAllowedFileTypesBLmsExchOWAAllowedMimeTypesBLmsExchOWABlockedFileTypesBLmsExchOWABlockedMIMETypesBLmsExchOWAForceSaveFileTypesBLmsExchOWAForceSaveMIMETypesBLmsExchOWAPolicymsExchOWARemoteDocumentsAllowedServersBLmsExchOWARemoteDocumentsBlockedServersBLmsExchOWARemoteDocumentsInternalDomainSuffixListBLmsExchOWASettingsmsExchOWATranscodingFileTypesBLmsExchOWATranscodingMimeTypesBLmsExchParentPlanBLmsExchParentPlanLinkmsExchPartnerGroupIDmsExchPfRootUrlmsExchPoliciesExcludedmsExchPoliciesIncludedmsExchPolicyEnabledmsExchPolicyOptionListmsExchPOP3SettingsmsExchPreviousAccountSidmsExchPreviousHomeMDBmsExchPreviousMailboxGuidmsExchProvisioningFlagsmsExchProxyCustomProxymsExchQueryBaseDNmsExchRBACPolicyBLmsExchRBACPolicyLinkmsExchRecipientDisplayTypemsExchRecipientTypeDetailsmsExchRecipientValidatorCookiesmsExchRecipLimitmsExchRemoteRecipientTypemsExchRequireAuthToSendTomsExchResourceCapacitymsExchResourceDisplaymsExchResourceGUIDmsExchResourceMetaDatamsExchResourcePropertiesmsExchResourceSearchPropertiesmsExchRetentionCommentmsExchRetentionURLmsExchRMSComputerAccountsBLmsExchRMSComputerAccountsLinkmsExchSafeRecipientsHashmsExchSafeSendersHashmsExchSendAsAddressesmsExchSenderHintTranslationsmsExchServerAssociationBLmsExchServerAssociationLinkmsExchServerSiteBLmsExchSetupStatusmsExchShadowAssistantNamemsExchShadowCmsExchShadowComsExchShadowCompanymsExchShadowCountryCodemsExchShadowDepartmentmsExchShadowDisplayNamemsExchShadowFacsimileTelephoneNumbermsExchShadowGivenNamemsExchShadowHomePhonemsExchShadowInfomsExchShadowInitialsmsExchShadowLmsExchShadowMailNicknamemsExchShadowManagerLinkmsExchShadowMobilemsExchShadowOtherFacsimileTelephonemsExchShadowOtherHomePhonemsExchShadowOtherTelephonemsExchShadowPagermsExchShadowPhysicalDeliveryOfficeNamemsExchShadowPostalCodemsExchShadowProxyAddressesmsExchShadowSnmsExchShadowStmsExchShadowStreetAddressmsExchShadowTelephoneAssistantmsExchShadowTelephoneNumbermsExchShadowTitlemsExchShadowWindowsLiveIDmsExchShadowWWWHomePagemsExchSharingAnonymousIdentitiesmsExchSharingPartnerIdentitiesmsExchSharingPolicyLinkmsExchSignupAddressesmsExchSMTPReceiveDefaultAcceptedDomainBLmsExchSupervisionDLBLmsExchSupervisionDLLinkmsExchSupervisionOneOffBLmsExchSupervisionOneOffLinkmsExchSupervisionUserBLmsExchSupervisionUserLinkmsExchSyncAccountsPolicyDNmsExchTextMessagingStatemsExchThrottlingPolicyDNmsExchTransportInboundSettingsmsExchTransportOutboundSettingsmsExchTransportRecipientSettingsFlagsmsExchTUIPasswordmsExchTUISpeedmsExchTUIVolumemsExchUCVoiceMailSettingsmsExchUMAddressesmsExchUMAudioCodecmsExchUMAudioCodec2msExchUMCallingLineIDsmsExchUMDtmfMapmsExchUMEnabledFlagsmsExchUMEnabledFlags2msExchUMFaxIdmsExchUMListInDirectorySearchmsExchUMMailboxOVALanguagemsExchUMMaxGreetingDurationmsExchUMOperatorNumbermsExchUMPhoneProvidermsExchUMPinChecksummsExchUMRecipientDialPlanLinkmsExchUMServerWritableFlagsmsExchUMSpokenNamemsExchUMTemplateLinkmsExchUnmergedAttsPtmsExchUsageLocationmsExchUseOABmsExchUserAccountControlmsExchUserBLmsExchUserCulturemsExchVersionmsExchVoiceMailboxIDmsExchWhenMailboxCreatedmsExchWindowsLiveIDmsIIS-FTPDirmsIIS-FTPRootmSMQDigestsmSMQDigestsMigmSMQSignCertificatesmSMQSignCertificatesMigmsNPAllowDialinmsNPCallingStationIDmsNPSavedCallingStationIDmsOrg-LeadersBLmsPKIAccountCredentialsmsPKI-CredentialRoamingTokensmsPKIDPAPIMasterKeysmsPKIRoamingTimeStampmsRADIUSCallbackNumbermsRADIUS-FramedInterfaceIdmsRADIUSFramedIPAddressmsRADIUS-FramedIpv6PrefixmsRADIUS-FramedIpv6RoutemsRADIUSFramedRoutemsRADIUS-SavedFramedInterfaceIdmsRADIUS-SavedFramedIpv6PrefixmsRADIUS-SavedFramedIpv6RoutemsRADIUSServiceTypemsRASSavedCallbackNumbermsRASSavedFramedIPAddressmsRASSavedFramedRoutemsSFU30NamemsSFU30NisDomainmsSFU30PosixMemberOfmsTSAllowLogonmsTSBrokenConnectionActionmsTSConnectClientDrivesmsTSConnectPrinterDrivesmsTSDefaultToMainPrintermsTSExpireDatemsTSExpireDate2msTSExpireDate3msTSExpireDate4msTSHomeDirectorymsTSHomeDrivemsTSInitialProgrammsTSLicenseVersionmsTSLicenseVersion2msTSLicenseVersion3msTSLicenseVersion4msTSLSProperty01msTSLSProperty02msTSManagingLSmsTSManagingLS2msTSManagingLS3msTSManagingLS4msTSMaxConnectionTimemsTSMaxDisconnectionTimemsTSMaxIdleTimemsTSPrimaryDesktopmsTSProfilePathmsTSProperty01msTSProperty02msTSReconnectionActionmsTSRemoteControlmsTSSecondaryDesktopsmsTSWorkDirectorynamenetbootSCPBLnetworkAddressnonSecurityMemberBLntPwdHistorynTSecurityDescriptoroobjectCategoryobjectClassobjectGUIDobjectSidobjectVersionoperatorCountotherFacsimileTelephoneNumberotherHomePhoneotherIpPhoneotherLoginWorkstationsotherMailboxotherMobileotherPagerotherTelephoneotherWellKnownObjectsouownerBLpagerpartialAttributeDeletionListpartialAttributeSetpersonalPagerpersonalTitlephotophysicalDeliveryOfficeNamepOPCharacterSetpOPContentFormatpossibleInferiorspostalAddresspostalCodepostOfficeBoxpreferredDeliveryMethodpreferredLanguagepreferredOUprimaryGroupIDprimaryInternationalISDNNumberprimaryTelexNumberprofilePathprotocolSettingsproxiedObjectNameproxyAddressespublicDelegatespublicDelegatesBLpwdLastSetqueryPolicyBLregisteredAddressreplicatedObjectVersionreplicationSensitivityreplicationSignaturereplPropertyMetaDatareplUpToDateVectorrepsFromrepsTorevisionridroomNumbersAMAccountNamesAMAccountTypescriptPathsDRightsEffectivesecretarysecurityIdentifiersecurityProtocolseeAlsoserialNumberserverReferenceBLservicePrincipalNameshadowExpireshadowFlagshadowInactiveshadowLastChangeshadowMaxshadowMinshadowWarningshowInAddressBookshowInAdvancedViewOnlysIDHistorysiteObjectBLsnststreetstreetAddressstructuralObjectClasssubmissionContLengthsubRefssubSchemaSubEntrysupplementalCredentialssupportedAlgorithmssystemFlagstargetAddresstelephoneAssistanttelephoneNumberteletexTerminalIdentifiertelexNumberterminalServertextEncodedORAddressthumbnailLogothumbnailPhototitletokenGroupstokenGroupsGlobalAndUniversaltokenGroupsNoGCAcceptableuiduidNumberunauthOrigunauthOrigBLunicodePwdunixHomeDirectoryunixUserPasswordunmergedAttsurluserAccountControluserCertuserCertificateuserParametersuserPassworduserPKCS12userPrincipalNameuserSharedFolderuserSharedFolderOtheruserSMIMECertificateuserWorkstationsuSNChangeduSNCreateduSNDSALastObjRemovedUSNIntersiteuSNLastObjRemuSNSourceversionNumberwbemPathwellKnownObjectswhenChangedwhenCreatedwWWHomePagex121Addressx500uniqueIdentifier

28 May 2020

Force a website to use HTTPS

To force a website to use HTTPS over HTTP; insert the following code into your .htaccess file RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

30 April 2020

Hosting Multiple Domains with Vhost

In SSH: cd /etc/apache2/sites-available/ sudo cp 000-default.conf newdomain.com.conf sudo nano newdomain.com.conf Update accordingly <VirtualHost *:80 *:443> ServerName newdomian.com ServerAlias www.newdomain.com ServerAdmin admin@newdomain.com  DocumentRoot /var/www/newdomain.com/html Use CTRL+X, Y, ENTER when done cd /var/www/ sudo mkdir newdomain.com cd newdomain.com sudo mkdir html sudo echo “<html><head><title>Hello</title></head><body><h1>Test Page for newdomain</h1></body></html>” […]