SSL Certificate to apply on more web application - SharePoint 2013
Hi,
based on your experiences, I'd like to know which SSL certificates are good in order to apply them for more web applications in a SharePoint 2013 farm. Saying a good SSL certificate I intend a SSL certificate not more expensive. The idea is to buy one
certificate with 1 or 2 year licence and use it for two, three, ... web applications.
Fe, I've a look to Thawte certificates but I don't find any info talking about the possibility to apply one certificate for more web applications.
Any suggests to me, please?
A single-host certificate applies to one host, or a single Web Application using Path-based Site Collections.
A SAN certificate applies to multiple, limited number of hosts for use with multiple Web Applications using Path-based Site Collections (or in a limited fashion, Host-named Site Collections).
A Wildcard certificate applies to an unlimited number of hosts, or an unlimited number of Web Applications using Path or Host-named Site Collections.
You want a wildcard, unless you have a good reason to not want a wildcard.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
Similar Messages
-
Error in Creating New Web Application SharePoint 2013
Everything was working fine but today when i try to create a new web application i am getting the following error.It's happening whenever i am trying to create a new web application.
The directory C:\inetpub\wwwroot\wss\VirtualDirectories\26060 is already being used by another IIS Web Site. Choose a different root directory for your new Web application.
But this port 26060 was not being used before and if i try to create new web application again then the error message occurs with the port number of the new web application.
Please help.Hi HelloFragrance,
Are you using a host header when creating these web apps? If so have you tried creating without a host header? Also are you logged in with the Server with the Admin account? Check this out: (taken from Jeremy Taylor's
blog)
" 1. Ensure you have a proper dns name / entry in the hosts file of your server for the new url you are wanting to create.
2. Ensure you have typed in the ‘host header’ typed in when creating the new web application.
3. If this doesnt work, open IIS Manager – Start>run> inetmgr> and verify the home directory – it could be located on a different drive."
Also have you tried creating through Powershell and see if you run into the same issue or not?
http://technet.microsoft.com/en-us/library/ff607931(v=office.15).aspx
Hope this helps!
Thanks!
BlueSky2010
Please help and appreciate others by using forum features: "Propose As Answer", "Vote As Helpful" and
"Mark As Answer" -
Hi,
Hopefully someone can offer some advice, I may be missing something obvious here.
I'm currently trying to write a feature event receiver to apply web.config modifications that are required by a recent project.
The feature is web application scoped & it doesn't activate by default on deployment, currently testing with a very small addition isn't working at all, I've followed numerous posts about duplicate entries & items being removed, none of which have
helped.
Here is my code;
public override void FeatureActivated(SPFeatureReceiverProperties properties)
SPWebApplication webApp = properties.Feature.Parent as SPWebApplication;
SPWebConfigModification Modification = new SPWebConfigModification();
Modification.Owner = "ConfigUpdater";
Modification.Path = "configuration/appSettings";
Modification.Name = "add[@key='Test']";
Modification.Sequence = 0;
Modification.Value = "<add key='Test' value='Server=TestServer;Database=TestDB;Trusted_Connection=True;' />";
Modification.Type = SPWebConfigModification.SPWebConfigModificationType.EnsureChildNode;
if (!webApp.WebConfigModifications.Contains(Modification))
webApp.WebConfigModifications.Add(Modification);
webApp.Update();
webApp.WebService.ApplyWebConfigModifications();
// Uncomment the method below to handle the event raised before a feature is deactivated.
public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
SPWebApplication webApp = properties.Feature.Parent as SPWebApplication;
Collection<SPWebConfigModification> modsCollection = webApp.WebConfigModifications;
int count = modsCollection.Count;
for (int i = count - 1; i >= 0; i--)
SPWebConfigModification mod = modsCollection[i];
if (mod.Owner == "ConfigUpdater")
modsCollection.Remove(mod);
webApp.Update();
webApp.WebService.ApplyWebConfigModifications();
Upon activation on 1 web app, the entry gets added twice to the web.config of every web application in the farm & upon deactivation the entries remain in the web.config files.
On activation, after this line, webApp.WebConfigModifications.Add(Modification); the webApp is updated to include the entry & only once, however 2 entries for it appear in the web.config files & as mentioned for every web application.
On deactivation, after updating the web app, the modification is removed, however it remains in the web.config files.
I'm wondering if the code actually works, as I can't see anything wrong & if there is some caching occurring somewhere which is applying the extra line/s upon calling ApplyWebConfigModifications.
Any help on this would be much appreciated.
Thanks,
JamesHi James,
Per my understanding, there is an entry gets added twice to the web.config file of every web application in the FeatureActivated event.
As a common practice, I suggest you debug your code to see how it works during the process, it will provide more information for a better troubleshooting.
Also, you can test the code in a Console Application to see if it will work as expected.
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Custom host-name for web application SharePoint 2010
I am facing a weird behavior. Can anyone help me regarding this?
Steps performed:
1. Created a web application using custom host name.
2. Created a site collection using "Blank" site template. Nothing issues.
3. Created another site collection using "Publishing" site template. Authentication prompt came multiple times. IIS logs/Fiddler/HTTP Watch are full with 401 entries.
4. Added the custom host-name with web server IP in local desktop hosts file(which is in intranet domain). Prompt issue fixed.
5. Authentication mode set as NTLM.Hi DDasgupta,
After you created a web application with a custom host name, if you got a prompt for the user and you may face the following issues:
There is continuous prompt for the credentials
HTTP 401.1 error
This shows that there is a problem with the Loopback configuration. This situation should occur only when we access the application from the server machine.
For fixing the problem, we have to disable the Loopback value inside the registry.Open the Registry Editor (regedit.exe) and locate the following key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, and create a new Key Value of type DWORD inside
it and set the value to 1.
More information, please refer to the link:
http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-2010-creating-host-name-for-web-application/
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Open Documents with Office Web App - SharePoint 2013
We have configured Office Web App for our SharePoint 2013 Farm and in Site settings, Site Collection Features, have disabled "Open Documents in Client Applications by Default" . Out of 15 sites, all documents in 13 sites open in Office
Web App. One of the 2 sites where the document still open using Client Application is a Wiki site.
Advanced propertied for the libraries settings has been set to "Use the server default (Open in the browser)". Anything else to check to open documents in Office Web App?
Thanks
MPHi,
As I understand, you encountered the issue when you want to open documents with Office Web App.
Check things below:
1. In the library setting->advanced setting, you can choose the open in the browser to see if the same situation will occur.
2. Check if you have not enable the Open Documents in Client Applications by Default feature.
If you choose Activate to enable the Open in Client feature (documents will open in the client application), or
Deactivate to disable the Open in Client feature (documents will open in the browser).
You can go to Site setting->site collection administration->site collection feature->Open
Documents in Client Applications by Default to set the feature.
The article below is about how to set the default open behavior for browser-enabled documents.
https://technet.microsoft.com/en-us/library/ee837425(v=office.15).aspx
The article below is about how to configure office web apps for SharePoint 2013.
Configure Office Web Apps for SharePoint 2013
Best regards
Sara Fan
TechNet Community Support -
Creating chart from web part sharepoint 2013 online
hello, my name is peter and i know to solve the problem with creating charts from web part . i am familiar with excell services, but it doesnt solve my problem because it is not taking data from web parts so it is static. Thank you for your time
If you want info about creating charts in web parts, this one is quite nice:
http://social.technet.microsoft.com/wiki/contents/articles/17614.adding-charts-to-standard-webparts-and-visual-webparts.aspx
If you're worrying about getting data from another web part, you need to use web part connections and start here:
http://msdn.microsoft.com/en-us/library/ms469765(v=office.14).aspx
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
Unable to open files from web on Sharepoint 2013
I have a user who is having an issue opening any files on sharepoint site. I have checked technet for possible solutions and this is what has been done so far:
Environment: VDI using Xendesktop with Windows 7 Enterprise, Office 2013.
1. Ran repair on Office 2013 professional plus (32-bit)
2. Uninstalled and re-installed office.
3. Cleared the cache from Skydrive/ Office document upload center.
4. Tried to reproduce issue on another thin client with a different user logging in and accessing the same file...no issue.
User can download the file and upload the file with no issue just cannot open it online in webapps using IE9.
The OS is a 64-bit Windows 7 Enterprise and he has used IE9 32 bit and 64 bit with same issue.
Permissions were verified to the file as well.what error user getting? did you try to different user on the same machine or same user on different machine?
did you see any error in ULS logs?
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Hi all,
I have a 2013 farm set up with the App model
1 web application for path based site collection using host name
1 web application with SSL (no host name)
1 web application for mysite
My business request is that I need to migrate SSL enabled 2007 content to this farm and use host name site collections. I tried to create one more web application for this without any luck (the 443 IIS folder is already used by another web application).
I thought I bind the previous 443 web application with another IP address should be fine. Seems like the IIS site is taken (https://server name:443) so it will not let me create one more. How can I solve this problem so I can create the web application
to host those host name site collections? Any suggestion is greatly appreciated.
Thanks in advance.
SallyHi Trevor,
Thanks again for your quick reply. I try the option 2 right after your post. I use my front end server name for public URL (https://WFEName:443) and it fails again. The error message is:
The directory C:\inetpub\wwwroot\wss\VirtualDirectories\443 is already being used by another IIS Web Site. Choose a different root directory for your new Web application.
After reading more, I saw mix Hosted Name Site collection and Path-based site collection aren't recommended. Unfortunately I already have Path-based site collection created with App model web application
(the web application without host name) in my farm. In my Option 2, that web application without host name is used for App routing. This takes the root folder 443 which will not allow any other web application to use the same name again.
Does that mean we can't create Host Named Site collection in the same farm? Is there any configuration I need to check?
Thanks again.
Sally -
What is the correct way to set a web application to use HTTP or HTTPS?
In the past I've always created an HTTP web application as the default zone. Then extended the web app, creating a new IIS website on port 443 and enabled SSL. This seems to have worked fine, but I recently read an article stating that it is not good to
extend a web app unless absolutely necessary. So can someone tell me what the proper way is to configure a single web application to work with HTTP and HTTPS?Extending the web application to support both HTTP and HTTPS is a perfectly good method and in fact is the only way to have a web application support both so what you've done is fine.
If the web application will only use HTTPS, you can set this up when you first create the web application. Specify port 443 and the SSL option (and ensure the URL has an https://) when creating the web application. You'll need to install the certificate
in IIS once the web application has been created.
Jason Warren
Infrastructure Architect
Habanero Consulting Group
habaneroconsulting.com/blog -
Error while upgrading web application with SSRS from 2010 to 2013
I am trying to upgrade a site collection which has SSRS reports in it. When I run Test-SPContentDatabase
with database of SP2010 and the new web application of 2013 I obtain the errors:
Category : MissingWebPart
Error : True
UpgradeBlocking : False
Message : WebPart class [ab6d9dad-e23c-ce4f-ff98-f6575a1ccf4c] (class [
Microsoft.ReportingServices.SharePoint.UI.WebParts.ReportView
erWebPart] from assembly
[Microsoft.ReportingServices.SharePoint.UI.WebParts,
Version=10.0.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91]) is referenced [6] times in
the database [Areas_10100], but is not installed on the
current farm. Please install any feature/solution which
contains this web part.
Remedy : One or more web parts are referenced in the database
[Areas_10100], but are not installed on the current farm.
Please install any feature or solution which contains these
web parts.
Locations :
Category : MissingAssembly
Error : True
UpgradeBlocking : False
Message : Assembly
[Microsoft.ReportingServices.SharePoint.UI.ServerPages,
Version=10.50.0.0, Culture=neutral,
PublicKeyToken=89845dcd8080cc91] is referenced in the
database [Areas_10100], but is not installed on the current
farm. Please install any feature/solution which contains
this assembly.
Remedy : One or more assemblies are referenced in the database
[Areas_10100], but are not installed on the current farm.
Please install any feature or solution which contains these
assemblies.
Locations :
SSRS are configured in both farms (2010 and 2013). In 2010 farm is SSRS 2008 R2. In the environment of 2013 farm is SSRS 2012.
Any idea?Similar Thread:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/68cc3179-8ed8-4435-b645-11f79f8bdc1f/upgrade-test-testspcontentdatabase-reporting-services-error?forum=sharepointadmin
This post is my own opinion and does not necessarily reflect the opinion or view of Slalom. -
Web Application Creation Speed Slowing
Hi all, thanks for any help with this. We found an issue with our SharePoint 2013 farm and I'm hoping someone can tell me if this is expected behavior or not.
First some background, our company sells several products and marketing wants different sites for each product ie. www.companyname.com, www.thingy1.com, www.thingy2.com, etc. In SharePoint we have been creating a separate web application for each domain.
We found that both bringing up the new web application dialog box and the overall creation time got slower and slower as we added more web applications. Here are some tests we did on a fresh system.
Test3 2 minutes: 40 seconds to create web application
Test4
2:58
Test5
3:20
Test6
3:40
Test7
3:58
Test8
4:25
Test9
4:56
Test10
5:38
Test11
6:15
Test12 lost track of time :)
At this point I increased memory from 12 to 20 GB
Test13
7:40
The reason I started testing this is that we have lab farm with 18 web applications and it takes about 35 minutes to create a new web application. So, is this expected in a system? If so, is there
a best practice to architect web applications other than this basic we we have been doing it?
Thanks for any help on this issue
Mikehi
max application pool limit is 10
max web application limit is 20
Software boundaries and limits for SharePoint 2013
We recommended limiting the number of web applications as much as possible. Create additional host named site collections where possible
instead of adding web applications.
Host-named site collection architecture and deployment (SharePoint 2013)
yaşamak bir eylemdir -
Maintaining session among Web Applications
Hi!
I would like to know if there is a good solution for this purpose: maintain the session in three, four or more web applications.
We know that if a user navigates through the pages that belong to only one of the web apps, the session can possibly expire in other web apps. What would be a good strategy to eliminate this problem?
I was thinking about a solution in which for each request the user does, or in other words, for each submit the user executes, I would call other servlets located in the other Web apps, and such servlets would have only this objective, that is maintaining the session, but I�m not sure whether it is really the best way.
Any thoughts?
Thanks.SSO will be a good options, using some available products, e.g, Sun Access Manager, or you can go for Webservices, with token management.
-
I'm trying to install an SSL certificate from a CA on Web Server 7.0U1. However, when I run the install-cert command, I get this:
wadm> install-cert config=vandale.ts.wikimedia.org token=internal cert-type=server nickname=cert-jira.ts.wikimedia.org cert.key
CLI103 Command 'install-cert' failed. :: An invalid XML character (Unicode: 0xc) was found in the element content of the document.
What's wrong?okay:
-----BEGIN CERTIFICATE-----
MIIE5zCCAs+gAwIBAgIDBC4FMA0GCSqGSIb3DQEBBQUAMHkxEDAOBgNVBAoTB1Jv
b3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UEAxMZ
Q0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9y
dEBjYWNlcnQub3JnMB4XDTA3MTAyMDE1MjIwMloXDTA4MDQxNzE1MjIwMlowIDEe
MBwGA1UEAxMVamlyYS50cy53aWtpbWVkaWEub3JnMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAtjtPe4cI5j9h4UR0r+n3kEGYVN9GgPvrSjdypJxkDfh0
TOWrYDHi5qT13+oxsWSYf79zpEvXkU8Gb0tM2+mcqcpl4yCqWmRX2RAIGyuLC/0o
b02TNEwZ8H9tAJVidnoIEHv8iKJKjoUud/k6/gahu2dpf9Lvu9dyXk5VXyRQUWqy
wMdgCjixrS6fEb7a0d+q8a+GX/1R2Jz73O+c60/rXY4yIfGpg8EUTdn/c9uiIKV6
ep0K8gYEd35rBhvlwa/ERuRZFeVOAnsPXGCYUQtRlAazilvp51J1FsDZzlBkM/Me
Y5qAxfc7nV5iiqrJ5Rw3/yYxsw3QXCSSDfEghY4ZkQIDAQABo4HQMIHNMAwGA1Ud
EwEB/wQCMAAwNAYDVR0lBC0wKwYIKwYBBQUHAwIGCCsGAQUFBwMBBglghkgBhvhC
BAEGCisGAQQBgjcKAwMwCwYDVR0PBAQDAgWgMDMGCCsGAQUFBwEBBCcwJTAjBggr
BgEFBQcwAYYXaHR0cDovL29jc3AuY2FjZXJ0Lm9yZy8wRQYDVR0RBD4wPIIVamly
YS50cy53aWtpbWVkaWEub3JnoCMGCCsGAQUFBwgFoBcMFWppcmEudHMud2lraW1l
ZGlhLm9yZzANBgkqhkiG9w0BAQUFAAOCAgEAX6E0ha6v72jXNJqxVxWR0d+7K8kB
mvId488lIZN8h7L7FkYqfPlg583xzmkd02NWbBDZ8fdPYzLL3J8+RAVJDvQEWu+T
7ZLPsPnDB+HbNMXBMNRcT0eDlLVBvkR3ro6Vd3bF9WC/vYjAYdgunfJke83270kg
QrdBeYfdkWyCwg7uDzq5RspwsOW3CNTt4v0av0PSDlOQGsTfW8/zgbuglVVoy5j3
jp4ZUnQy7h6+ebzatXaAKfBRUNrnz/fFIBPjJMuju0lZK86WDA1rLZXTl1Q7iyK2
t29MZJcWpNKoUAus4i+FP4ZfNuq6qicKfAzxQDsbBhcvmSPI8YqOujc82glnK+Yo
QQfsXF1fh5SUleg6/jXCzOfwDtmkIKJMB69EX8tfNOKGnEJybo73/EydwPwFF5i5
S/aC0ZrJqB4oC8SyozoJcfXhclXbt68ZNp5yVtKs5tKtEGBTko4y7/r28tqoiJ0w
0aDX4+oU48jRlIkln1tAq6DEjGQwsHU71swM+u+HVQCULfUhbR51gsJ3lJvsBlvG
AJIqDw/NWhOjQunDiOK39DtEU4fqPlSv+ZzSkIivfvok0b+0dCpChik5xBmIEkD/
jCZec2aseacXXzPJnLWw7TvTn4dIAVGaO5QRNpYxycvNh1Ic8nYxrVdeg+WklkeU
AUQXFoV6dMeXD4Y=
-----END CERTIFICATE----- -
Site Map providers xml's throght out all web applications.
Hi all,
How to
site map providers to all web applications. each and every site map provider should apply to each web application.
ex: we can apply single site map provider(for top navigation) to one web application. but If we take 5 site map providers, how to apply these site map providers to 5 web applications through code.
If any doubts, please let me know.
Please help me on this.Hi,
According to your post, my understanding is that you want to customize a top navigation and apply it to all web application.
The following articles for your reference:
Building a Custom Site Map Provider
http://www.codeproject.com/Articles/96461/Building-a-Custom-Site-Map-Provider
Web Application Navigator for SharePoint
http://wan.codeplex.com/
Best Regards
Dennis Guo
TechNet Community Support -
Hi,
I read through the Web Application documentation and I could not find answers to some questions, so I thought that someone on these forums might be able to help.
1) Can two or more web applications share code? Or, in other words, can a web application use classes that do not belong to it? If yes, where should these classes reside?
I tried sharing the code to get a database connection and the Class.forName("weblogic.jdbc.pool.Driver") instruction fails with the error ClassNotFoundException: weblogic/jdbc/pool/Driver.
2) Can two web applications cooperate? Or, in other words, can one web application use services provided by another web application (like servlets, .jsp pages, images, etc.)?
I tried linking to a servlet in a web application from another web application and got the error NoClassDefFoundError: javax/servlet/http/HttpServletRequest.
3) If two web applications can cooperate, can they still cooperate if they reside on two different machines? Or even two different clusters?
Thanks,
Vladimir
Alexander Petrushko <[email protected]> wrote:
>vladimir wrote:
>
>> Hi,
>>
>> I read through the Web Application documentation and I could not find answers to some questions, so I thought that someone on these forums might be able to help.
>>
>> 1) Can two or more web applications share code? Or, in other words, can a web application use classes that do not belong to it? If yes, where should these classes reside?
>
>> I tried sharing the code to get a database connection and the Class.forName("weblogic.jdbc.pool.Driver") instruction fails with the error ClassNotFoundException: weblogic/jdbc/pool/Driver.
>
>Set your weblogic.class.path correctly and it will work. Look at the shell/bat scripts supplied with the server distribution.
>
>> 2) Can two web applications cooperate? Or, in other words, can one web application use services provided by another web application (like servlets, .jsp pages, images, etc.)?
>
>Yes, use RequestDispatcher and the correct path.
>
>> I tried linking to a servlet in a web application from another web application and got the error NoClassDefFoundError: javax/servlet/http/HttpServletRequest.
>
>That's a CLASSPATH/weblogic.class.path issue.
>
>> 3) If two web applications can cooperate, can they still cooperate if they reside on two different machines? Or even two different clusters?
>
>If webapps A and B are on different machines (VMs), your webapp A can use sendRedirect() to have the client go to webapp B or read B's output stream and proxy it back to the client. Look at
>java.net.HttpURLConnection if you want to use the latter method. Your webapp A would be no different from the browser or any other HTTP client when talking to webapp B.
>
if you go from webapp A to webappB, how do you maintain session state (without saving it in a database) ?
>Cheers,
>
>Alex
>
Maybe you are looking for
-
ITunes doesn't open when launched or takes several minutes to open
Just like the title says, iTunes doesn't open when I click the shortcut in the Start menu. It appears in the windows task manager under proccesses as 'iTunes.exe *32'. Sometimes it will open 10-15 minutes later. It worked just fine until a few weeks
-
Plzzz write prog to this simple java threads question
Write a program in C to create four processes. The original processes creates two children before it prints out "PARENT". The children processes print "CHILD1" and "CHILD2" respectively. The first child process creates a child process that prints out
-
IPod touch not recognized after upgrading to Mac OS X 10.5
Hello I recently upgraded my macbook pro to os x and now my ipod touch is not connecting to itunes. I'v reset my ipod touch and now when i plug it in nothing happens still. This is quite distressing as Im addicted to my ipod. Any help would be greatl
-
Hi, In the follwoing trace code, I got correct values for the first three lines, e.g., Height, width, and x values. But Y is always 0 for all controls I tried. And obviously they are at different vertical positions. So this is a bug of Flex or someth
-
Hi; I tried to find in the forums but didn't find anything that worked. I have some u3d files attached to my pdf and I want to load them in the same annotation depending on the user input. I know how to reference them but i dont know h