SSL VPN Failed to validate server certificate (cannot access https)
Hi all,
I have the next problem.
I've configured in an UC520 a SSL VPN.
I can access properly and I can see the labels, but I only can access urls which are http, not https:
I can access the default ip of the uc520 (192.168.1.10) but
When I try to get access to a secure url I get the msg: Failed to validate server certificate
I'm trying to access a Cisco Digital Media Manager, whose url is https://pc.sumkio.local:8080
Does the certificate of both hardware has to be the same?
How can I add a https?
Here is the config of the router:
webvpn gateway SDM_WEBVPN_GATEWAY_1
ip address 192.168.1.254 port 443
ssl trustpoint TP-self-signed-2977472073
inservice
webvpn context SDM_WEBVPN_CONTEXT_1
secondary-color white
title-color #CCCC66
text-color black
ssl authenticate verify all
url-list "Intranet"
heading "Corporate Intranet"
url-text "DMM Sumkio" url-value "http://pc.sumkio.local:8080"
url-text "Impresora" url-value "http://192.168.10.100"
url-text "DMM" url-value "https://pc.sumkio.local:8443"
url-text "DMM 1" url-value "http://192.168.10.10:8080"
url-text "UC520" url-value "http://192.168.10.1"
policy group SDM_WEBVPN_POLICY_1
url-list "Intranet"
mask-urls
svc dns-server primary 192.168.10.250
svc dns-server secondary 8.8.8.8
default-group-policy SDM_WEBVPN_POLICY_1
aaa authentication list sdm_vpn_xauth_ml_1
gateway SDM_WEBVPN_GATEWAY_1
max-users 10
inservice
Any help would be apreciatted.
Thank you
Hi, thanks for your advise.
I'm trying to copy the certificate via cut and paste, but I'm getting a
% Error in saving certificate: status = FAIL
I dont know if I'm doing this right.
I open the https page from the DMM with Mozilla Firefox, and in options I export the certificate in PEM format.
I get a file which if I open with notepad is like
-----BEGIN CERTIFICATE-----
MIICOzCCAaSgAwIBAgIET7EwyzANBgkqhkiG9w0BAQUFADBhMQswCQYDVQQGEwJV
KoZIhvcNAQEFBQADgYEAdk7n+tJi0igrTD2o7RD9ty8MLTyHN4uk8km+7DbpEy0g
mxLY0UZswYvbj15kPdd8QbeGEdDR6SXOYePsfIRJzL0mqMON4oiUhsqAK5y2yC6R
nqy4wWQ2fGVEYAeLpb1jGKdZWpuag/CO90NMHcMiobfBh+4eTqm7kRPTEyma6V0=
-----END CERTIFICATE-----
If I try to authenticate the trustpoint, I get that error.
how can I export the certificate from the DMM?
I think that this file is not the right file.
and then, do I have to make some changes in
webvpn gateway SDM_WEBVPN_GATEWAY_1?
Should I choose the new trustpoint?
I understand that the old trustpoint is for the outside connection, no for the LAN connection.
Dont worry about me, answer when you can but I really need to fix this.
Thank you so much
Similar Messages
-
Validate Server Certificate Problem
Hi all.
We have this problem with EAP-TLS with WPA and certificate authentication.
With a third part client (odissey) all work well, with integrated microsoft client all work if we deselect "Validate Server Certificate" into configuration.
In trusted server list there is our CA server.
But when we select this option (or if we try to connect to wifi network for the first time), authentication fail.
It's an annoying problem, because Windows XP default this option, so for an end user it's difficult to connect (he need to enter in network configuration.... we want a simple connection...).
Thank a lot
DanieleTry this link
http://cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a0080545a29 -
Policy in domai server2008 for remove tick Validate Server Certificate in win7 and xp
hi
i have a domain server 2008
i need create a policy to remove tick Validate Server Certificate in win7 and xp
please help me> i need create a policy to remove tick Validate Server Certificate in
> win7 and xp
Deploy your WLAN settings through Group Policy - this will allow you to
create a WIFI for Vista and above, and another one for XP. Both offer
you to untick this check box.
Greetings/Grüße,
Martin
Mal ein
gutes Buch über GPOs lesen?
Good or bad GPOs? - my blog…
And if IT bothers me -
coke bottle design refreshment (-: -
Recently installed SharePoint 2013 RTM, on the newsfeed page an error is displayed, and no entries display in the following or everyone tabs.
"The operation failed because the server could not access the distributed cache."
Reading through various posts, I've checked:
- Activity feeds and mentions tabs are working as expected.
- User Profile Service is operational and syncing as expected
- Search is operational and indexing as expected
- The farm was installed based on the autospinstaller scripts.
- Don't believe this to be a permissions issue, during testing added accounts to the admin group to verify
Any suggestions are welcomed, thanks.
The full error message and trace logs is as follows.
SharePoint returned the following error: The operation failed because the server could not access the distributed cache. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 55. Contact your system administrator
for help in resolving this problem.
From the trace logs there's several messages which are triggered around the same time:
http://msdn.microsoft.com/en-AU/library/System.ServiceModel.Diagnostics.TraceHandledException.aspxHandling an exception. Exception details: System.ServiceModel.FaultException`1[Microsoft.Office.Server.UserProfiles.FeedCacheFault]: Unexpected exception in
FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. (Fault Detail is equal to Microsoft.Office.Server.UserProfiles.FeedCacheFault)./LM/W3SVC/2/ROOT/d71732192b0d4afdad17084e8214321e-1-129962393079894191System.ServiceModel.FaultException`1[[Microsoft.Office.Server.UserProfiles.FeedCacheFault,
Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]], System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Unexpected exception in FeedCacheService.GetPublishedFeed: Object
reference not set to an instance of an object..
at Microsoft.Office.Server.UserProfiles.FeedCacheService.Microsoft.Office.Server.UserProfiles.IFeedCacheService.GetPublishedFeed(FeedCacheRetrievalEntity fcTargetEntity, FeedCacheRetrievalEntity fcViewingEntity, FeedCacheRetrievalOptions fcRetOptions)
at SyncInvokeGetPublishedFeed(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)System.ServiceModel.FaultException`1[Microsoft.Office.Server.UserProfiles.FeedCacheFault]: Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not
set to an instance of an object.. (Fault Detail is equal to Microsoft.Office.Server.UserProfiles.FeedCacheFault).
SPSocialFeedManager.GetFeed: Exception: Microsoft.Office.Server.Microfeed.MicrofeedException: ServerErrorFetchingConsolidatedFeed : ( Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of an object.. ) : Correlation
ID:db6ddc9b-8d2e-906e-db86-77e4c9fab08f : Date and Time : 31/10/2012 1:40:20 PM
at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.PopulateConsolidated(SPMicrofeedRetrievalOptions retOptions, SPMicrofeedContext context)
at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.Populate(SPMicrofeedRetrievalOptions retrievalOptions, SPMicrofeedContext context)
at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonGetFeedFor(SPMicrofeedRetrievalOptions retrievalOptions)
at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonPubFeedGetter(SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType feedType, Boolean publicView)
at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.GetPublishedFeed(String feedOwner, SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType typeOfPubFeed)
at Microsoft.Office.Server.Social.SPSocialFeedManager.Microsoft.Office.Server.Social.ISocialFeedManagerProxy.ProxyGetFeed(SPSocialFeedType type, SPSocialFeedOptions options)
at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass4b`1.<S2SInvoke>b__4a()
Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeed: Microsoft.Office.Server.Microfeed.MicrofeedException: ServerErrorFetchingConsolidatedFeed : ( Unexpected exception in FeedCacheService.GetPublishedFeed: Object reference not set to an instance of
an object.. ) : Correlation ID:db6ddc9b-8d2e-906e-db86-77e4c9fab08f : Date and Time : 31/10/2012 1:40:20 PM
at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.PopulateConsolidated(SPMicrofeedRetrievalOptions retOptions, SPMicrofeedContext context)
at Microsoft.Office.Server.Microfeed.SPMicrofeedThreadCollection.Populate(SPMicrofeedRetrievalOptions retrievalOptions, SPMicrofeedContext context)
at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonGetFeedFor(SPMicrofeedRetrievalOptions retrievalOptions)
at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.CommonPubFeedGetter(SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType feedType, Boolean publicView)
at Microsoft.Office.Server.Microfeed.SPMicrofeedManager.GetPublishedFeed(String feedOwner, SPMicrofeedRetrievalOptions feedOptions, MicrofeedPublishedFeedType typeOfPubFeed)
at Microsoft.Office.Server.Social.SPSocialFeedManager.Microsoft.Office.Server.Social.ISocialFeedManagerProxy.ProxyGetFeed(SPSocialFeedType type, SPSocialFeedOptions options)
at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass4b`1.<S2SInvoke>b__4a()
at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)
Microsoft.Office.Server.Social.SPSocialFeedManager.GetFeed: Microsoft.Office.Server.Social.SPSocialException: The operation failed because the server could not access the distributed cache. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException.
Internal error code: 55.
at Microsoft.Office.Server.Social.SPSocialUtil.TryTranslateExceptionAndThrow(Exception exception)
at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)
at Microsoft.Office.Server.Social.SPSocialFeedManager.<>c__DisplayClass48`1.<S2SInvoke>b__47()
at Microsoft.Office.Server.Social.SPSocialUtil.InvokeWithExceptionTranslation[T](ISocialOperationManager target, String name, Func`1 func)Thanks Thuan,
I've restarted to the Distrubiton Cache servicem and the error is still occuring.
The AppFabric Caching Service is running under the service apps account, and does appear operational based on:
> use-cachecluster
> get-cache
CacheName [Host]
Regions
default
DistributedAccessCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
DistributedActivityFeedCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
DistributedActivityF [SERVER:22233]
eedLMTCache_1e9f4999 LMT(Primary)
-0187-40e8-aa92-f830
8d47d6e9
DistributedBouncerCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
DistributedDefaultCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
DistributedLogonToke [SERVER:22233]
nCache_1e9f4999-0187 Default_Region_0538(Primary)
-40e8-aa92-f8308d47d Default_Region_0004(Primary)
6e9 Default_Region_0451(Primary)
DistributedSearchCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
DistributedSecurityTrimmingCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9
DistributedServerToAppServerAccessTokenCache_1e9f4999-0187-40e8-aa92-f8308d47d6e9 -
Certificate error connecting to VPN, can not validate server
Used the configuration utility to configure a profile for VPN using certificate as authentication. Keep getting error, can not validate server. When I export the cert to my desktop, I see the CRL information in it. When I view the details of the cert after installing on the iPad, I don't see any CRL information. I'm guessing this may be the problem only not sure how to resolve it.
solved the problem by adding an additional attribute in the certificate request to the VPN server (cisco router) and first enable the server SubjectAltName CA
In CA server:
certutil -setreg policy\EditFlags +EDITF_ATTRIBUTESUBJECTALTNAME2
certutil -setreg policy\SubjectAltName enabled
certutil -setreg policy\SubjectAltName2 enabled
net stop certsvc
net start certsvc
In certificate request for VPN server:
In the Attributes box, type the desired SAN attributes. SAN attributes take the following form:
san:dns=dns.name[&dns=dns.name]/san:ipaddress=x.x.x.x
(external dns/ip)
http://support.microsoft.com/kb/931351 -
Renew SSL key fail in WL Server
We need to renew our certificate in the production environment. The new key is 2048 bit encrypted. When importing it to the keystore with "NO" password protection on the private key, the server ssl works fine. When I encrypt the file using wlkeytool and then importing it to the keystore the ssl fails with the following error:
The public key from the configured server certificate and the configured server private key do not match.
Any idea how I can encrypt the private key prior to importing it to the keystore?This thread has replies in the WLS Security forum and I recommend those interested with follow-up look there:
SSLKeyException -
SSL for Weblogic 6.0: Server Certificate Chain File & Verisign
http://www.bea.com/support/askbea/wls/S-07188.shtml
This issue attempts to explain what a "certificate chain file" is for. I still don't understand why this is so difficult. Where do I get this from?
At the end of the article it points me here:
http://www.verisign.com/repository/root.html
And vaguely tells me to convert the unspecified format on that page using a utility from OpenSSL. The format on that page is NOT .pem, what is it? Which utility do I use, and HOW do I convert the root server CA on that page to .der format?
Thanks for tips!Unfortunately this is a missleading exception you are getting.
Here is a suggested workaround (at-least to get SSL working )
https://www.verisign.com/server/prg/browser/root.html
I have been meet same question as you.
The Server Certificate Chain File obtained from your Browser (such as IE5.5 )
Jason Pettiss <[email protected]> wrote:
http://www.bea.com/support/askbea/wls/S-07188.shtml
This issue attempts to explain what a "certificate chain file" is for.
I still don't understand why this is so difficult. Where do I get
this from?
At the end of the article it points me here:
http://www.verisign.com/repository/root.html
And vaguely tells me to convert the unspecified format on that page using
a utility from OpenSSL. The format on that page is NOT .pem, what is
it? Which utility do I use, and HOW do I convert the root server
CA on that page to .der format?
Thanks for tips! -
Hi,
I have flexunit project which I am trying to run on linux server.
1. I have Tests project.
2. I am trying to compile it on linux server and creating Tests.swf file and then executing Tests.swf using ant on 64 bit linux server using standalone flash debug player.
3. Tests project contains 4 tests and first tests always fail with following error,
test:
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using default working dir [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/var/lib/flex4.1sdk]
[flexunit] haltonfailure: [true]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [1024]
[flexunit] swf: [/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/report]
[flexunit] Setting up server process ...
[flexunit] Entry [/mnt/build/VinitFlexUnitBranch/workspace/bin] already available in local trust file at [/home/deploy/.macromedia/Flash_Player/#Security/FlashPlayerTrust/flexUnit.cfg].
[flexunit] Executing 'gflashplayer' with arguments:
[flexunit] '/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Client connected.
[flexunit] Setting inbound buffer size to [262144] bytes.
[flexunit] Receiving data ...
[flexunit] Sending acknowledgement to player to start sending test data ...
[flexunit]
[flexunit] FlexUnit test pause in suite Tests.Classes.DummyASyncTest had errors.
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
[flexunit] <testcase classname="Tests.Classes::DummyASyncTest" name="pause" time="8" status="error"><error message="Error #1009: Cannot access a property or method of a null object reference." type="Tests.Classes::DummyASyncTest.pause" ><![CDATA[TypeError: Error #1009: Cannot access a property or method of a null object reference.
[flexunit] at org.fluint.uiImpersonation.flex::FlexEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.fluint.uiImpersonation::VisualTestEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher/getStage()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher()
[flexunit] at org.flexunit.internals.runners.statements::StackAndFrameManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withStackManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withDecoration()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()
[flexunit] at org.flexunit.runner::FlexUnitCore/verifyRunnerCanBegin()
[flexunit] at org.flexunit.token::AsyncCoreStartupToken/sendReady()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at org.flexunit.listeners::CIListener/setStatusReady()
[flexunit] at org.flexunit.listeners::CIListener/dataHandler()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at flash.net::XMLSocket/scanAndSendEvent()]]></error></testcase>
[flexunit] <endOfTestRun/>
[flexunit] Analyzing reports ...
[flexunit]
[flexunit] Suite: Tests.Classes.DummyASyncTest
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
[flexunit] Results :
[flexunit]
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
BUILD FAILED
/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/build.xml:26: FlexUnit tests failed during the test run.
at org.flexunit.ant.tasks.TestRun.analyzeReports(Unknown Source)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
Exited with status 1
[deploy]$
4. Everytime I run this, any test which is run first will fail and all other tests will pass.
My Tests.as file is as below:
* Tests.as
package
import Tests.XTestSuite;
import flash.display.Sprite;
import mx.core.FlexSprite;
import org.flexunit.listeners.CIListener;
import org.flexunit.listeners.UIListener;
import org.flexunit.runner.FlexUnitCore;
public class Tests extends Sprite
public var flexSprite:FlexSprite;
public function Tests()
onCreationComplete();
public function onCreationComplete() : void {
var core : FlexUnitCore = new FlexUnitCore();
core.addListener(new CIListener());
core.runClasses(Tests.XTestSuite);
public function currentRunTestSuite():Array
var testsToRun:Array = new Array();
testsToRun.push(Tests.XTestSuite);
return testsToRun;
XTestSuite try to run 4 flexunit test classes.
one of that flexunit test script class is as below:
package Tests.Classes
import flexunit.framework.Assert;
import org.flexunit.Assert;
import org.flexunit.asserts.assertEquals;
public class DummyASyncTest
[Test]
public function pause() : void
assertEquals(true, true);
trace("I M in dummy");
All other tests are dummy tests which just asserts(true, true).
I am not sure if I doing something wrong or forgot to take care of something.Hi,
I have flexunit project which I am trying to run on linux server.
1. I have Tests project.
2. I am trying to compile it on linux server and creating Tests.swf file and then executing Tests.swf using ant on 64 bit linux server using standalone flash debug player.
3. Tests project contains 4 tests and first tests always fail with following error,
test:
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using default working dir [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/var/lib/flex4.1sdk]
[flexunit] haltonfailure: [true]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [1024]
[flexunit] swf: [/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/report]
[flexunit] Setting up server process ...
[flexunit] Entry [/mnt/build/VinitFlexUnitBranch/workspace/bin] already available in local trust file at [/home/deploy/.macromedia/Flash_Player/#Security/FlashPlayerTrust/flexUnit.cfg].
[flexunit] Executing 'gflashplayer' with arguments:
[flexunit] '/mnt/build/VinitFlexUnitBranch/workspace/bin/Tests.swf'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Starting server ...
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit] Client connected.
[flexunit] Setting inbound buffer size to [262144] bytes.
[flexunit] Receiving data ...
[flexunit] Sending acknowledgement to player to start sending test data ...
[flexunit]
[flexunit] FlexUnit test pause in suite Tests.Classes.DummyASyncTest had errors.
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
[flexunit] <testcase classname="Tests.Classes::DummyASyncTest" name="pause" time="8" status="error"><error message="Error #1009: Cannot access a property or method of a null object reference." type="Tests.Classes::DummyASyncTest.pause" ><![CDATA[TypeError: Error #1009: Cannot access a property or method of a null object reference.
[flexunit] at org.fluint.uiImpersonation.flex::FlexEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.fluint.uiImpersonation::VisualTestEnvironmentBuilder/buildVisualTestEnvironment()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher/getStage()
[flexunit] at org.flexunit.internals.runners.watcher::FrameWatcher()
[flexunit] at org.flexunit.internals.runners.statements::StackAndFrameManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withStackManagement()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/withDecoration()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock()
[flexunit] at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runners::Suite/runChild()
[flexunit] at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep()
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete( )
[flexunit] at org.flexunit.internals.runners.statements::StatementSequencer/evaluate()
[flexunit] at org.flexunit.runners::ParentRunner/run()
[flexunit] at org.flexunit.runner::FlexUnitCore/beginRunnerExecution()
[flexunit] at org.flexunit.runner::FlexUnitCore/verifyRunnerCanBegin()
[flexunit] at org.flexunit.token::AsyncCoreStartupToken/sendReady()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification()
[flexunit] at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at org.flexunit.listeners::CIListener/setStatusReady()
[flexunit] at org.flexunit.listeners::CIListener/dataHandler()
[flexunit] at flash.events::EventDispatcher/dispatchEventFunction()
[flexunit] at flash.events::EventDispatcher/dispatchEvent()
[flexunit] at flash.net::XMLSocket/scanAndSendEvent()]]></error></testcase>
[flexunit] <endOfTestRun/>
[flexunit] Analyzing reports ...
[flexunit]
[flexunit] Suite: Tests.Classes.DummyASyncTest
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
[flexunit] Results :
[flexunit]
[flexunit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.008 sec
[flexunit]
BUILD FAILED
/mnt/build/VinitFlexUnitBranch/workspace/src/Tests/build.xml:26: FlexUnit tests failed during the test run.
at org.flexunit.ant.tasks.TestRun.analyzeReports(Unknown Source)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
Exited with status 1
[deploy]$
4. Everytime I run this, any test which is run first will fail and all other tests will pass.
My Tests.as file is as below:
* Tests.as
package
import Tests.XTestSuite;
import flash.display.Sprite;
import mx.core.FlexSprite;
import org.flexunit.listeners.CIListener;
import org.flexunit.listeners.UIListener;
import org.flexunit.runner.FlexUnitCore;
public class Tests extends Sprite
public var flexSprite:FlexSprite;
public function Tests()
onCreationComplete();
public function onCreationComplete() : void {
var core : FlexUnitCore = new FlexUnitCore();
core.addListener(new CIListener());
core.runClasses(Tests.XTestSuite);
public function currentRunTestSuite():Array
var testsToRun:Array = new Array();
testsToRun.push(Tests.XTestSuite);
return testsToRun;
XTestSuite try to run 4 flexunit test classes.
one of that flexunit test script class is as below:
package Tests.Classes
import flexunit.framework.Assert;
import org.flexunit.Assert;
import org.flexunit.asserts.assertEquals;
public class DummyASyncTest
[Test]
public function pause() : void
assertEquals(true, true);
trace("I M in dummy");
All other tests are dummy tests which just asserts(true, true).
I am not sure if I doing something wrong or forgot to take care of something. -
Since downloading Yosemite 10.10.1 on my MacBook Pro and Mac desktop I have had email problems. When linking to the server a popup message appears saying "The identity of POP3.knology.net cannot be verified." It may be another server is attempting to steal the data. My email server says this is an apple problem that they've seen with 10.10.1 (They may just be passing the buck) but they can't solve it. The self-signed server is "map.example.com" which expired on Friday, Nov 2, 2012.
Your email provider is using a self-signed certificate? LOL.
This is not an Apple issue. Somebody has their certificate screwed up, and OS X is doing the right thing to protect you.
It _is_ possible for you to go to the certificate and explicitly trust it, always, even though it's an invalid and/or expired certificate. That will probably address the issue. But this "map.example.com' has "screwed up" written ALL OVER IT. -
ASA Cannot access https device via Clientless VPN bookmark, site to site works fine
We've got two offices connected via an IPSEC tunnel. This site to site VPN works great, we can access our remote devices fine from a PC on either LAN at each office. The device's address is https://192.168.210.2
However, if we make a bookmark on the Clientless VPN for that same address the conneciton just times out if it has to go over the site to site VPN.
We plugged the exact same web enabled device on the local side of the VPN, put in a bookmark for its https address and it works fine. Its just remote bookmarks for devices on the other side of the tunnel do not work.
Looking at the debug log I see the request going out from the source to the destination on port 443 but nothing more. The NAT exemption etc are all right because people on the LAN have no problem accessing this device remotely with their browser.
I haven't been able to adequately describe this problem to find a matching Cisco example, anyone know how to fix this?hi luis,
thank you for your reply. we've checked the smoothwall configuration, but couldn't discover anything which could cause this problem. we even tried replacing the sa520 with a draytek vigor router to set up an lan-to-lan vpn with the smoothwall. with the draytek in place we have no problems accessing the aforementioned servers, so it seems the issue is with the SA520.
what exactly do you mean by creating an ACL from the remote WAN to our LAN? i assumed you meant creating a firewall rule, allowing traffic from the remote device's public ip to our LAN. however, in that case i need to enter an ip address of a device in our LAN, or else i cannot save this rule. as a test i entered the ip address of my machine as the destination address, but am still unable to access the aforementioned servers.
here's how i set up the rule:
from zone: UNSECURE (WAN/optional WAN)
to zone: LAN
service: ANY
action: ALLOW always
schedule: (not set)
source hosts: Single address
from: public ip of one of the aforementioned servers
source NAT settings > external IP address: WAN interface address (cannot change this setting)
source NAT settings >WAN interface: dedicated WAN (cannot change this setting)
destination NAT settings > internal ip address: 192.168.11.123 (ip address of my machine)
enable port forwarding: unchecked
translate port number: empty
external IP address: dedicated WAN -
\\server\c$ cannot access
I got a 2003 server that I cannot
\\server\c$ get into it
The admin$ and c$ are there.
Server workstation and netlogon services are started
any idea?Hi JonDoe,
I’m writing to just check in to see
if the suggestions were helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up.
If you have
any feedback on our support, please click here.
Best Regards,
Anna Wang
TechNet Community Support -
HTTP 500 - internal server error ,Cannot access content in the CMC
Hi Friends,
I am facing an strange behaviour in CMC application :
when accessing the CMC content like Servers,servergroups,Authentication,users&groups etc getting error HTTP 500 - internal server error.
So please help on this why it is occuring and where i need to debug from to resolve this error.
Thanks,
SureshHi Tim,
Thanks for the inputs , but I forgot one thing to mention in the previuos tag, that the error iam getting is intermittent and once I restart the webapp server (tomcat) then Iam not facing the issue.
Workarround :
1.Narrowing down to which tomact service is this error
2.Stop tomcat
3.restart tomcat
issue iam facing intermittently ,So please suggest how to debug the issue?
Thanks for your Kind Help & support!!
Regards,
Suresh -
Has anyone had this problem with VPN iPad vpn connection could not validate the server certificate
Has anyone had this problem with IPad 3 after upgrade to IOS 7,
trying to to connect VPN , but I get this messag, "could not validate the server certificate".
I am trying to connect to Oracle VPN.Has anyone found a solution for this yet? I am still getting the could not validate server certificate error. I have tried importing the entire certificate chain as well as importing each individual cert in the chain. My certificate works perfectly with the cisco vpn on my pc.
This is my first experience owning an apple product, and I am very disappointed with the customer support that I have received. I tried calling the help line and no one would even attempt to answer my question. I was then told that the Mac "geniuses" wouldn't know either and that I may be able to find an answer on the message boards. So I am reaching out to the community...Has anyone been able to figure out how to resolve this issue or even the specific cause? Any help is appreciated. -
Anyconnect VPN not prompting to accept Certificate (Windows 7)
Hello,
I have an issue with windows 7 and anyconnect. When trying to connect to the VPN server the anyconnect client pops up a window saying that the server certificate cannot be verified.
Doing the same in a windows XP machine just pops a window and prompts me to accept or refuse the certificate, which at least works.
Any hints on this?
Regards,
AlexI believe that Chandru's concern is in his statement that his DSL modem is controlled by the RAS service.
I agree with Andrew that Chandru probably does not need the RAS enabled. I have used several Dell laptop running XP and connected to DSL just fine without needing RAS. If there is some aspect of how the laptop is configured that results in needing RAS for the modem then perhaps Chandru can clarify this for us.
HTH
Rick -
Hi
How to use "server certificate" to develop HTTPS or SSL proxy server.Can any one give me detail in steps.no U cannot . Request Verisign for another trial certificate. They provide
asmany as u want. The only problem is that it expires in 14 days.
Sameer
ramesh wrote:
Hi,
Certificates are associated with machine names. You cannot use Certificates
generated by/for one machine in/on another machine.
I hope I am right.
Ramesh
"R1" <[email protected]> wrote in message
news:[email protected]..
I installed a trial server certificate from verisign on a Netscape
Server Enterprise 4.0. I would like to duplicate this certificate on
another server. Is it possible?
Thanks
Maybe you are looking for
-
Anyone know how to get Adobe to pay attention? Or am I compelled to be a pirate?
I bought PageMaker many many years ago (about 1998 I think), and at the time it was a substantial investment. I've upgraded regularly since, and now have InDesign CS3 purchased in June 2007 (Adobe Store Australia Recept No. AD000385242U dated 27/6/07
-
Can't upgrad FF 4 Beta 9 to Beta 10
Every time I open my Firefox (4 Beta 9) a window pops up and tells me that upgrading to Beta 10 couldn't be done. And that I should check if I have other Firefoxes running which need to be closed. I DON'T have any other Firefoxes on (or any other Moz
-
A silly question about oracle.sql.timestamp and java.sql.timestamp
Hi, I'm looking at a method that takes objects of type Object and does stuff if the object is really a java.sql.timestamp. If it is not then an error is flagged. In my case it flags an error when an object of type oracle.sql.timestamp is passed to it
-
Big problem, Live Paint Bucket changing strokes
Hi all, so in the first picture you can see the finished line work. When I fill the face with a color in Live Paint, it changes the strokes and makes them appear jagged in varying widths, it's especially obvious on the eyes, ears, and hair - it looks
-
Hi, I'm running a new SRP547W running the latest firmware. Firmware Version: 1.2.4 (003) Jan 11 2012 I have 3 phones connected to the unit. Ports 1 & 3 are used for outbound calls using VOIP and are registered to the VOIP provider. The third phone is